Searched refs:priv (Results 1 - 9 of 9) sorted by relevance

/bind-9.6-ESV-R11/lib/dns/
H A Ddst_parse.c132 check_rsa(const dst_private_t *priv) { argument
140 for (j = 0; j < priv->nelements; j++) {
142 if (priv->elements[j].tag == TAG(DST_ALG_RSAMD5, i))
170 check_dh(const dst_private_t *priv) { argument
172 if (priv->nelements != DH_NTAGS)
175 for (j = 0; j < priv->nelements; j++)
176 if (priv->elements[j].tag == TAG(DST_ALG_DH, i))
178 if (j == priv->nelements)
185 check_dsa(const dst_private_t *priv) { argument
187 if (priv
200 check_hmac_md5(const dst_private_t *priv, isc_boolean_t old) argument
227 check_hmac_sha(const dst_private_t *priv, unsigned int ntags, unsigned int alg) argument
244 check_data(const dst_private_t *priv, const unsigned int alg, isc_boolean_t old) argument
278 dst__privstruct_free(dst_private_t *priv, isc_mem_t *mctx) argument
293 dst__privstruct_parse(dst_key_t *key, unsigned int alg, isc_lex_t *lex, isc_mem_t *mctx, dst_private_t *priv) argument
444 dst__privstruct_writefile(const dst_key_t *key, const dst_private_t *priv, const char *directory) argument
[all...]
H A Dhmac_link.c247 dst_private_t priv; local
256 priv.elements[cnt].tag = TAG_HMACMD5_KEY;
257 priv.elements[cnt].length = bytes;
258 priv.elements[cnt++].data = hkey->key;
262 priv.elements[cnt].tag = TAG_HMACMD5_BITS;
263 priv.elements[cnt].data = buf;
264 priv.elements[cnt++].length = 2;
266 priv.nelements = cnt;
267 return (dst__privstruct_writefile(key, &priv, directory));
272 dst_private_t priv; local
515 dst_private_t priv; local
540 dst_private_t priv; local
784 dst_private_t priv; local
809 dst_private_t priv; local
1053 dst_private_t priv; local
1078 dst_private_t priv; local
1322 dst_private_t priv; local
1347 dst_private_t priv; local
1591 dst_private_t priv; local
1616 dst_private_t priv; local
[all...]
H A Dopenssldh_link.c77 openssldh_computesecret(const dst_key_t *pub, const dst_key_t *priv, argument
86 REQUIRE(priv->keydata.dh != NULL);
89 dhpriv = priv->keydata.dh;
429 dst_private_t priv; local
449 priv.elements[i].tag = TAG_DH_PRIME;
450 priv.elements[i].length = BN_num_bytes(dh->p);
452 priv.elements[i].data = bufs[i];
455 priv.elements[i].tag = TAG_DH_GENERATOR;
456 priv.elements[i].length = BN_num_bytes(dh->g);
458 priv
486 dst_private_t priv; local
[all...]
H A Dopenssldsa_link.c490 dst_private_t priv; local
498 priv.elements[cnt].tag = TAG_DSA_PRIME;
499 priv.elements[cnt].length = BN_num_bytes(dsa->p);
501 priv.elements[cnt].data = bufs[cnt];
504 priv.elements[cnt].tag = TAG_DSA_SUBPRIME;
505 priv.elements[cnt].length = BN_num_bytes(dsa->q);
507 priv.elements[cnt].data = bufs[cnt];
510 priv.elements[cnt].tag = TAG_DSA_BASE;
511 priv.elements[cnt].length = BN_num_bytes(dsa->g);
513 priv
534 dst_private_t priv; local
[all...]
H A Dopensslrsa_link.c979 dst_private_t priv; local
1006 priv.elements[i].tag = TAG_RSA_MODULUS;
1007 priv.elements[i].length = BN_num_bytes(rsa->n);
1009 priv.elements[i].data = bufs[i];
1012 priv.elements[i].tag = TAG_RSA_PUBLICEXPONENT;
1013 priv.elements[i].length = BN_num_bytes(rsa->e);
1015 priv.elements[i].data = bufs[i];
1019 priv.elements[i].tag = TAG_RSA_PRIVATEEXPONENT;
1020 priv.elements[i].length = BN_num_bytes(rsa->d);
1022 priv
1096 dst_private_t priv; local
[all...]
H A Ddst_parse.h122 dst__privstruct_free(dst_private_t *priv, isc_mem_t *mctx);
126 isc_mem_t *mctx, dst_private_t *priv);
129 dst__privstruct_writefile(const dst_key_t *key, const dst_private_t *priv,
H A Ddst_internal.h159 const dst_key_t *priv,
H A Ddst_api.c339 dst_key_computesecret(const dst_key_t *pub, const dst_key_t *priv, argument
343 REQUIRE(VALID_KEY(pub) && VALID_KEY(priv));
347 CHECKALG(priv->key_alg);
349 if (pub->keydata.generic == NULL || priv->keydata.generic == NULL)
352 if (pub->key_alg != priv->key_alg ||
354 priv->func->computesecret == NULL)
357 if (dst_key_isprivate(priv) == ISC_FALSE)
360 return (pub->func->computesecret(pub, priv, secret));
/bind-9.6-ESV-R11/lib/dns/include/dst/
H A Ddst.h210 dst_key_computesecret(const dst_key_t *pub, const dst_key_t *priv,
217 * \li "priv" is a valid private key that can be used to derive a shared secret

Completed in 2743 milliseconds