Lines Matching refs:algorithm
83 dns_read_key(u_int8_t *algorithm, u_int8_t *digest_type, in dns_read_key() argument
91 *algorithm = SSHFP_KEY_RSA; in dns_read_key()
94 *algorithm = SSHFP_KEY_DSA; in dns_read_key()
97 *algorithm = SSHFP_KEY_ECDSA; in dns_read_key()
100 *algorithm = SSHFP_KEY_ED25519; in dns_read_key()
103 *algorithm = SSHFP_KEY_XMSS; in dns_read_key()
106 *algorithm = SSHFP_KEY_RESERVED; /* 0 */ in dns_read_key()
120 if (*algorithm && *digest_type) { in dns_read_key()
137 dns_read_rdata(u_int8_t *algorithm, u_int8_t *digest_type, in dns_read_rdata() argument
142 *algorithm = SSHFP_KEY_RESERVED; in dns_read_rdata()
146 *algorithm = rdata[0]; in dns_read_rdata()