Lines Matching refs:algorithm
81 dns_read_key(u_int8_t *algorithm, u_int8_t *digest_type, in dns_read_key() argument
89 *algorithm = SSHFP_KEY_RSA; in dns_read_key()
92 *algorithm = SSHFP_KEY_DSA; in dns_read_key()
95 *algorithm = SSHFP_KEY_ECDSA; in dns_read_key()
98 *algorithm = SSHFP_KEY_ED25519; in dns_read_key()
101 *algorithm = SSHFP_KEY_XMSS; in dns_read_key()
104 *algorithm = SSHFP_KEY_RESERVED; /* 0 */ in dns_read_key()
118 if (*algorithm && *digest_type) { in dns_read_key()
135 dns_read_rdata(u_int8_t *algorithm, u_int8_t *digest_type, in dns_read_rdata() argument
140 *algorithm = SSHFP_KEY_RESERVED; in dns_read_rdata()
144 *algorithm = rdata[0]; in dns_read_rdata()