Lines Matching refs:algorithm
79 dns_read_key(u_int8_t *algorithm, u_int8_t *digest_type, in dns_read_key() argument
87 *algorithm = SSHFP_KEY_RSA; in dns_read_key()
90 *algorithm = SSHFP_KEY_DSA; in dns_read_key()
93 *algorithm = SSHFP_KEY_ECDSA; in dns_read_key()
96 *algorithm = SSHFP_KEY_ED25519; in dns_read_key()
99 *algorithm = SSHFP_KEY_XMSS; in dns_read_key()
102 *algorithm = SSHFP_KEY_RESERVED; /* 0 */ in dns_read_key()
116 if (*algorithm && *digest_type) { in dns_read_key()
133 dns_read_rdata(u_int8_t *algorithm, u_int8_t *digest_type, in dns_read_rdata() argument
138 *algorithm = SSHFP_KEY_RESERVED; in dns_read_rdata()
142 *algorithm = rdata[0]; in dns_read_rdata()