Searched refs:querysiglen (Results 1 – 2 of 2) sorted by relevance
/titanic_44/usr/src/lib/libresolv2/common/nameser/ |
H A D | ns_sign.c | 79 const u_char *querysig, int querysiglen, u_char *sig, int *siglen, in ns_sign() argument 83 querysig, querysiglen, sig, siglen, in ns_sign() 89 const u_char *querysig, int querysiglen, u_char *sig, int *siglen, in ns_sign2() argument 165 if (querysiglen > 0 && querysig != NULL) { in ns_sign2() 166 u_int16_t len_n = htons(querysiglen); in ns_sign2() 170 querysig, querysiglen, NULL, 0); in ns_sign2() 252 ns_sign_tcp_init(void *k, const u_char *querysig, int querysiglen, in ns_sign_tcp_init() argument 256 if (state == NULL || k == NULL || querysig == NULL || querysiglen < 0) in ns_sign_tcp_init() 262 if (querysiglen > (int)sizeof(state->sig)) in ns_sign_tcp_init() 264 memcpy(state->sig, querysig, querysiglen); in ns_sign_tcp_init() [all …]
|
H A D | ns_verify.c | 136 const u_char *querysig, int querysiglen, u_char *sig, int *siglen, in ns_verify() argument 240 if (querysiglen > 0 && querysig != NULL) { in ns_verify() 241 u_int16_t len_n = htons(querysiglen); in ns_verify() 245 querysig, querysiglen, NULL, 0); in ns_verify() 323 ns_verify_tcp_init(void *k, const u_char *querysig, int querysiglen, in ns_verify_tcp_init() argument 327 if (state == NULL || k == NULL || querysig == NULL || querysiglen < 0) in ns_verify_tcp_init() 333 if (querysiglen > (int)sizeof(state->sig)) in ns_verify_tcp_init() 335 memcpy(state->sig, querysig, querysiglen); in ns_verify_tcp_init() 336 state->siglen = querysiglen; in ns_verify_tcp_init()
|