Searched defs:privkey (Results 1 - 6 of 6) sorted by relevance

/bind-9.11.3/lib/dns/
H A Dopenssleddsa_link.c563 eddsa_check(EVP_PKEY *privkey, dst_key_t *pub) argument
572 if (EVP_PKEY_cmp(privkey, pkey) == 1)
H A Dopensslecdsa_link.c468 const BIGNUM *privkey; local
484 privkey = EC_KEY_get0_private_key(eckey);
485 if (privkey == NULL)
488 buf = isc_mem_get(key->mctx, BN_num_bytes(privkey));
493 priv.elements[0].length = BN_num_bytes(privkey);
494 BN_bn2bin(privkey, buf);
503 isc_mem_put(key->mctx, buf, BN_num_bytes(privkey));
543 BIGNUM *privkey = NULL; local
576 privkey = BN_bin2bn(priv.elements[0].data,
578 if (privkey
[all...]
H A Dopensslgost_link.c398 const BIGNUM *privkey; local
415 privkey = EC_KEY_get0_private_key(eckey);
416 if (privkey == NULL)
419 buf = isc_mem_get(key->mctx, BN_num_bytes(privkey));
424 priv.elements[0].length = BN_num_bytes(privkey);
425 BN_bn2bin(privkey, buf);
432 isc_mem_put(key->mctx, buf, BN_num_bytes(privkey));
457 BIGNUM *privkey = NULL; local
494 privkey = BN_bin2bn(priv.elements[0].data,
496 if (privkey
[all...]
H A Ddnssec.c1666 dst_key_t *pubkey = NULL, *privkey = NULL; local
1699 directory, mctx, &privkey);
1718 mctx, &privkey);
1720 dst_key_pubcompare(pubkey, privkey,
1722 dst_key_setflags(privkey, flags);
1768 if ((dst_key_flags(privkey) & DNS_KEYTYPE_NOAUTH) != 0)
1775 dst_key_setttl(privkey, dst_key_getttl(pubkey));
1777 RETERR(addkey(keylist, &privkey, savekeys, mctx));
1781 if (privkey != NULL)
1782 dst_key_free(&privkey);
[all...]
/bind-9.11.3/lib/dns/tests/
H A Dgost_test.c255 BIGNUM *privkey; local
265 privkey = BN_bin2bn(privraw, (int) sizeof(privraw), NULL);
266 ATF_REQUIRE(privkey != NULL);
275 ATF_REQUIRE(EC_KEY_set_private_key(eckey, privkey) == 1);
276 BN_clear_free(privkey);
/bind-9.11.3/bin/dnssec/
H A Ddnssec-signzone.c367 dst_key_t *pubkey = NULL, *privkey = NULL; local
401 directory, mctx, &privkey);
404 result = dns_dnsseckey_create(mctx, &privkey, &key);

Completed in 32 milliseconds