/netbsd-6-1-5-RELEASE/crypto/external/bsd/heimdal/dist/lib/hcrypto/ |
H A D | ec.c | 57 mp_int privkey; member in struct:EC_KEY 137 random(key->privkey, key->group->size); 138 } while(mp_cmp(key->privkey, key->group->order) >= 0); 143 if (ec_point_mul(&key->pubkey, key->group, key->privkey) != 1)
|
/netbsd-6-1-5-RELEASE/external/bsd/bind/dist/lib/dns/ |
H A D | opensslecdsa_link.c | 441 const BIGNUM *privkey; local 452 privkey = EC_KEY_get0_private_key(eckey); 453 if (privkey == NULL) 456 buf = isc_mem_get(key->mctx, BN_num_bytes(privkey)); 461 priv.elements[0].length = BN_num_bytes(privkey); 462 BN_bn2bin(privkey, buf); 471 isc_mem_put(key->mctx, buf, BN_num_bytes(privkey)); 511 BIGNUM *privkey; local 532 privkey = BN_bin2bn(priv.elements[0].data, 534 if (privkey [all...] |
H A D | dnssec.c | 1518 dst_key_t *pubkey = NULL, *privkey = NULL; local 1551 directory, mctx, &privkey); 1570 mctx, &privkey); 1572 dst_key_pubcompare(pubkey, privkey, 1574 dst_key_setflags(privkey, flags); 1602 if ((dst_key_flags(privkey) & DNS_KEYTYPE_NOAUTH) != 0) 1609 dst_key_setttl(privkey, dst_key_getttl(pubkey)); 1611 RETERR(addkey(keylist, &privkey, savekeys, mctx)); 1615 if (privkey != NULL) 1616 dst_key_free(&privkey); [all...] |
/netbsd-6-1-5-RELEASE/usr.sbin/syslogd/ |
H A D | sign.c | 116 assert(GlobalSign.pubkey_b64 && GlobalSign.privkey && 118 assert(GlobalSign.privkey->pkey.dsa->priv_key); 154 * GlobalSign.privkey, and GlobalSign.pubkey 159 EVP_PKEY *pubkey = NULL, *privkey = NULL; local 177 if (!(privkey = SSL_get_privatekey(ssl))) { 188 * - privkey is just a pointer into SSL_CTX and 197 privkey = NULL; 203 GlobalSign.privkey = privkey; 228 if (!(privkey [all...] |
H A D | sign.h | 176 EVP_PKEY *privkey; member in struct:sign_global_t
|
/netbsd-6-1-5-RELEASE/crypto/external/bsd/openssl/dist/crypto/dsa/ |
H A D | dsa_ameth.c | 198 ASN1_INTEGER *privkey = NULL; local 236 privkey = t2->value.integer; 241 if (!(privkey=d2i_ASN1_INTEGER(NULL, &p, pklen))) 243 if (privkey->type == V_ASN1_NEG_INTEGER) 246 ASN1_INTEGER_free(privkey); 247 if (!(privkey=d2i_ASN1_UINTEGER(NULL, &q, pklen))) 260 if (!(dsa->priv_key = ASN1_INTEGER_to_BN(privkey, NULL))) 288 ASN1_INTEGER_free(privkey); 296 if (privkey) 297 ASN1_INTEGER_free(privkey); [all...] |
/netbsd-6-1-5-RELEASE/external/bsd/wpa/dist/src/crypto/ |
H A D | crypto_openssl.c | 416 struct wpabuf *pubkey = NULL, *privkey = NULL; local 442 privkey = wpabuf_alloc(privlen); 443 if (privkey == NULL) 447 BN_bn2bin(dh->priv_key, wpabuf_put(privkey, privlen)); 449 *priv = privkey; 455 wpabuf_free(privkey);
|
/netbsd-6-1-5-RELEASE/crypto/dist/ipsec-tools/src/racoon/ |
H A D | privsep.c | 385 vchar_t *privkey; local 401 if ((privkey = eay_get_pkcs1privkey(bufs[0])) == NULL){ 406 reply->bufs.buflen[0] = privkey->l; 407 reply->hdr.ac_len = sizeof(*reply) + privkey->l; 416 memcpy(reply + 1, privkey->v, privkey->l); 417 vfree(privkey); 902 vchar_t *privkey; local 932 if ((privkey = vmalloc(len - sizeof(*msg))) == NULL) 935 memcpy(privkey [all...] |
H A D | crypto_openssl.c | 1094 eay_get_x509sign(src, privkey) 1095 vchar_t *src, *privkey; 1098 u_char *bp = (unsigned char *) privkey->v; 1104 evp = d2i_PrivateKey(EVP_PKEY_RSA, NULL, (void *)&bp, privkey->l);
|
H A D | oakley.c | 1725 vchar_t *privkey = NULL; local 1740 privkey = privsep_eay_get_pkcs1privkey(path); 1741 if (privkey == NULL) { 1747 plogdump(LLV_DEBUG2, privkey->v, privkey->l); 1748 iph1->sig = eay_get_x509sign(iph1->hash, privkey); 1771 if (privkey != NULL) 1772 vfree(privkey);
|
/netbsd-6-1-5-RELEASE/crypto/external/bsd/openssl/dist/crypto/dh/ |
H A D | dh_ameth.c | 192 ASN1_INTEGER *privkey = NULL; local 204 if (!(privkey=d2i_ASN1_INTEGER(NULL, &p, pklen))) 214 if (!(dh->priv_key = ASN1_INTEGER_to_BN(privkey, NULL))) 225 ASN1_INTEGER_free(privkey);
|
/netbsd-6-1-5-RELEASE/crypto/external/bsd/openssl/dist/apps/ |
H A D | openssl-vms.cnf | 107 default_keyfile = privkey.pem
|
H A D | openssl.cnf | 107 default_keyfile = privkey.pem
|
/netbsd-6-1-5-RELEASE/external/bsd/bind/dist/bin/dnssec/ |
H A D | dnssec-signzone.c | 372 dst_key_t *pubkey = NULL, *privkey = NULL; local 406 directory, mctx, &privkey); 409 result = dns_dnsseckey_create(mctx, &privkey, &key);
|