Symbol: private_key
crypto/heimdal/lib/hx509/cert.c
1580
return p->private_key;
crypto/heimdal/lib/hx509/cert.c
1586
return p->private_key ? 1 : 0;
crypto/heimdal/lib/hx509/cert.c
1593
if (p->private_key == NULL)
crypto/heimdal/lib/hx509/cert.c
1595
return _hx509_private_key_exportable(p->private_key);
crypto/heimdal/lib/hx509/cert.c
1608
if (p->private_key == NULL) {
crypto/heimdal/lib/hx509/cert.c
1617
p->private_key,
crypto/heimdal/lib/hx509/cert.c
231
(*cert)->private_key = NULL;
crypto/heimdal/lib/hx509/cert.c
310
_hx509_cert_assign_key(hx509_cert cert, hx509_private_key private_key)
crypto/heimdal/lib/hx509/cert.c
312
if (cert->private_key)
crypto/heimdal/lib/hx509/cert.c
313
hx509_private_key_free(&cert->private_key);
crypto/heimdal/lib/hx509/cert.c
314
cert->private_key = _hx509_private_key_ref(private_key);
crypto/heimdal/lib/hx509/cert.c
343
if (cert->private_key)
crypto/heimdal/lib/hx509/cert.c
344
hx509_private_key_free(&cert->private_key);
crypto/heimdal/lib/hx509/cert.c
81
hx509_private_key private_key;
crypto/heimdal/lib/hx509/collector.c
104
free_private_key(struct private_key *key)
crypto/heimdal/lib/hx509/collector.c
107
if (key->private_key)
crypto/heimdal/lib/hx509/collector.c
108
hx509_private_key_free(&key->private_key);
crypto/heimdal/lib/hx509/collector.c
117
hx509_private_key private_key,
crypto/heimdal/lib/hx509/collector.c
121
struct private_key *key;
crypto/heimdal/lib/hx509/collector.c
143
if (private_key) {
crypto/heimdal/lib/hx509/collector.c
144
key->private_key = private_key;
crypto/heimdal/lib/hx509/collector.c
149
&key->private_key);
crypto/heimdal/lib/hx509/collector.c
175
struct private_key *value,
crypto/heimdal/lib/hx509/collector.c
196
if (value->private_key)
crypto/heimdal/lib/hx509/collector.c
197
_hx509_cert_assign_key(cert, value->private_key);
crypto/heimdal/lib/hx509/collector.c
204
match_keys(hx509_context context, struct private_key *value, hx509_certs certs)
crypto/heimdal/lib/hx509/collector.c
210
if (value->private_key == NULL) {
crypto/heimdal/lib/hx509/collector.c
232
ret = _hx509_match_keys(c, value->private_key);
crypto/heimdal/lib/hx509/collector.c
234
_hx509_cert_assign_key(c, value->private_key);
crypto/heimdal/lib/hx509/collector.c
295
if (c->val.data[i]->private_key)
crypto/heimdal/lib/hx509/collector.c
305
if (c->val.data[i]->private_key) {
crypto/heimdal/lib/hx509/collector.c
306
(*keys)[nkeys++] = c->val.data[i]->private_key;
crypto/heimdal/lib/hx509/collector.c
307
c->val.data[i]->private_key = NULL;
crypto/heimdal/lib/hx509/collector.c
38
hx509_private_key private_key;
crypto/heimdal/lib/hx509/collector.c
47
struct private_key **data;
crypto/heimdal/lib/hx509/crypto.c
1009
hx509_private_key private_key)
crypto/heimdal/lib/hx509/crypto.c
1154
hx509_private_key private_key)
crypto/heimdal/lib/hx509/crypto.c
1158
private_key->private_key.dsa =
crypto/heimdal/lib/hx509/crypto.c
1160
if (private_key->private_key.dsa == NULL)
crypto/heimdal/lib/hx509/crypto.c
1162
private_key->signature_alg = ASN1_OID_ID_DSA_WITH_SHA1;
crypto/heimdal/lib/hx509/crypto.c
1771
if (p->private_key.rsa == NULL) {
crypto/heimdal/lib/hx509/crypto.c
1777
cleartext->length = RSA_size(p->private_key.rsa);
crypto/heimdal/lib/hx509/crypto.c
1785
p->private_key.rsa,
crypto/heimdal/lib/hx509/crypto.c
1808
hx509_private_key *private_key)
crypto/heimdal/lib/hx509/crypto.c
1813
*private_key = NULL;
crypto/heimdal/lib/hx509/crypto.c
1821
ret = hx509_private_key_init(private_key, ops, NULL);
crypto/heimdal/lib/hx509/crypto.c
1827
ret = (*ops->import)(context, keyai, data, len, format, *private_key);
crypto/heimdal/lib/hx509/crypto.c
1829
hx509_private_key_free(private_key);
crypto/heimdal/lib/hx509/crypto.c
1840
hx509_private_key private_key,
crypto/heimdal/lib/hx509/crypto.c
1843
const struct hx509_private_key_ops *ops = private_key->ops;
crypto/heimdal/lib/hx509/crypto.c
1849
return (*ops->get_spki)(context, private_key, spki);
crypto/heimdal/lib/hx509/crypto.c
1903
hx509_private_key *private_key)
crypto/heimdal/lib/hx509/crypto.c
1908
*private_key = NULL;
crypto/heimdal/lib/hx509/crypto.c
1916
ret = hx509_private_key_init(private_key, ops, NULL);
crypto/heimdal/lib/hx509/crypto.c
1922
ret = (*ops->generate_private_key)(context, ctx, *private_key);
crypto/heimdal/lib/hx509/crypto.c
1924
hx509_private_key_free(private_key);
crypto/heimdal/lib/hx509/crypto.c
2030
(*key)->private_key.keydata = keydata;
crypto/heimdal/lib/hx509/crypto.c
2063
if ((*key)->private_key.rsa)
crypto/heimdal/lib/hx509/crypto.c
2064
RSA_free((*key)->private_key.rsa);
crypto/heimdal/lib/hx509/crypto.c
2067
if ((*key)->private_key.ecdsa)
crypto/heimdal/lib/hx509/crypto.c
2068
EC_KEY_free((*key)->private_key.ecdsa);
crypto/heimdal/lib/hx509/crypto.c
2071
(*key)->private_key.rsa = NULL;
crypto/heimdal/lib/hx509/crypto.c
2080
if (key->private_key.rsa)
crypto/heimdal/lib/hx509/crypto.c
2081
RSA_free(key->private_key.rsa);
crypto/heimdal/lib/hx509/crypto.c
2082
key->private_key.rsa = ptr;
crypto/heimdal/lib/hx509/crypto.c
2978
match_keys_rsa(hx509_cert c, hx509_private_key private_key)
crypto/heimdal/lib/hx509/crypto.c
2989
if (private_key->private_key.rsa == NULL)
crypto/heimdal/lib/hx509/crypto.c
2992
rsa = private_key->private_key.rsa;
crypto/heimdal/lib/hx509/crypto.c
3084
match_keys_ec(hx509_cert c, hx509_private_key private_key)
crypto/heimdal/lib/hx509/crypto.c
453
sig->length = ECDSA_size(signer->private_key.ecdsa);
crypto/heimdal/lib/hx509/crypto.c
465
sig->data, &siglen, signer->private_key.ecdsa);
crypto/heimdal/lib/hx509/crypto.c
503
group = EC_KEY_get0_group(signer->private_key.ecdsa);
crypto/heimdal/lib/hx509/crypto.c
723
sig->length = RSA_size(signer->private_key.rsa);
crypto/heimdal/lib/hx509/crypto.c
733
signer->private_key.rsa,
crypto/heimdal/lib/hx509/crypto.c
757
hx509_private_key private_key)
crypto/heimdal/lib/hx509/crypto.c
763
private_key->private_key.rsa =
crypto/heimdal/lib/hx509/crypto.c
765
if (private_key->private_key.rsa == NULL) {
crypto/heimdal/lib/hx509/crypto.c
77
} private_key;
crypto/heimdal/lib/hx509/crypto.c
770
private_key->signature_alg = ASN1_OID_ID_PKCS1_SHA1WITHRSAENCRYPTION;
crypto/heimdal/lib/hx509/crypto.c
783
hx509_private_key private_key,
crypto/heimdal/lib/hx509/crypto.c
790
len = i2d_RSAPublicKey(private_key->private_key.rsa, NULL);
crypto/heimdal/lib/hx509/crypto.c
811
i2d_RSAPublicKey(private_key->private_key.rsa, &pp);
crypto/heimdal/lib/hx509/crypto.c
820
hx509_private_key private_key)
crypto/heimdal/lib/hx509/crypto.c
829
private_key->private_key.rsa = RSA_new();
crypto/heimdal/lib/hx509/crypto.c
830
if (private_key->private_key.rsa == NULL) {
crypto/heimdal/lib/hx509/crypto.c
844
ret = RSA_generate_key_ex(private_key->private_key.rsa, bits, e, NULL);
crypto/heimdal/lib/hx509/crypto.c
851
private_key->signature_alg = ASN1_OID_ID_PKCS1_SHA1WITHRSAENCRYPTION;
crypto/heimdal/lib/hx509/crypto.c
870
ret = i2d_RSAPrivateKey(key->private_key.rsa, NULL);
crypto/heimdal/lib/hx509/crypto.c
888
i2d_RSAPrivateKey(key->private_key.rsa, &p);
crypto/heimdal/lib/hx509/crypto.c
906
RSA_get0_key(key->private_key.rsa, &n, NULL, NULL);
crypto/heimdal/lib/hx509/crypto.c
908
RSA_get0_key(key->private_key.rsa, NULL, &n, NULL);
crypto/heimdal/lib/hx509/crypto.c
931
hx509_private_key private_key,
crypto/heimdal/lib/hx509/crypto.c
953
hx509_private_key private_key)
crypto/heimdal/lib/hx509/crypto.c
990
private_key->private_key.ecdsa = d2i_ECPrivateKey(pkey, &p, len);
crypto/heimdal/lib/hx509/crypto.c
991
if (private_key->private_key.ecdsa == NULL) {
crypto/heimdal/lib/hx509/crypto.c
996
private_key->signature_alg = ASN1_OID_ID_ECDSA_WITH_SHA256;
crypto/heimdal/lib/hx509/hxtool.c
1752
hx509_private_key private_key = NULL;
crypto/heimdal/lib/hx509/hxtool.c
1813
ret = read_private_key(opt->ca_private_key_string, &private_key);
crypto/heimdal/lib/hx509/hxtool.c
1817
ret = hx509_private_key2SPKI(context, private_key, &spki);
crypto/heimdal/lib/hx509/hxtool.c
1822
cert_key = private_key;
crypto/heimdal/lib/hx509/hxtool.c
1867
private_key = cert_key;
crypto/heimdal/lib/hx509/hxtool.c
1976
ret = hx509_ca_sign_self(context, tbs, private_key, &cert);
crypto/heimdal/lib/hx509/hxtool.c
2017
if (private_key != cert_key)
crypto/heimdal/lib/hx509/hxtool.c
2018
hx509_private_key_free(&private_key);
crypto/heimdal/lib/hx509/ks_p11.c
130
CK_OBJECT_HANDLE key = p11rsa->private_key;
crypto/heimdal/lib/hx509/ks_p11.c
168
CK_OBJECT_HANDLE key = p11rsa->private_key;
crypto/heimdal/lib/hx509/ks_p11.c
673
p11rsa->private_key = object;
crypto/heimdal/lib/hx509/ks_p11.c
97
CK_OBJECT_HANDLE private_key;
crypto/heimdal/lib/hx509/ref/pkcs11.h
966
ck_object_handle_t *private_key));
crypto/krb5/src/plugins/preauth/pkinit/pkcs11.h
964
ck_object_handle_t *private_key));
crypto/openssh/libcrux_mlkem768_sha3.h
10921
libcrux_ml_kem_types_MlKemPrivateKey_55 *private_key,
crypto/openssh/libcrux_mlkem768_sha3.h
10924
Eurydice_array_to_slice((size_t)2400U, private_key->value, uint8_t),
crypto/openssh/libcrux_mlkem768_sha3.h
11018
libcrux_ml_kem_types_MlKemPrivateKey_55 *private_key,
crypto/openssh/libcrux_mlkem768_sha3.h
11020
libcrux_ml_kem_ind_cca_decapsulate_70(private_key, ciphertext, ret);
crypto/openssh/libcrux_mlkem768_sha3.h
11031
libcrux_ml_kem_types_MlKemPrivateKey_55 *private_key,
crypto/openssh/libcrux_mlkem768_sha3.h
11034
private_key, ciphertext, ret);
crypto/openssh/libcrux_mlkem768_sha3.h
11498
Eurydice_slice private_key, Eurydice_slice public_key,
crypto/openssh/libcrux_mlkem768_sha3.h
11507
uu____0, uu____1, uu____2 + Eurydice_slice_len(private_key, uint8_t),
crypto/openssh/libcrux_mlkem768_sha3.h
11509
private_key, uint8_t);
crypto/openssh/libcrux_mlkem768_sha3.h
11510
pointer = pointer + Eurydice_slice_len(private_key, uint8_t);
crypto/openssh/libcrux_mlkem768_sha3.h
11584
libcrux_ml_kem_types_MlKemPrivateKey_55 private_key =
crypto/openssh/libcrux_mlkem768_sha3.h
11586
libcrux_ml_kem_types_MlKemPrivateKey_55 uu____2 = private_key;
crypto/openssh/libcrux_mlkem768_sha3.h
11686
libcrux_ml_kem_types_MlKemPrivateKey_55 *private_key,
crypto/openssh/libcrux_mlkem768_sha3.h
11689
Eurydice_array_to_slice((size_t)2400U, private_key->value, uint8_t),
crypto/openssh/libcrux_mlkem768_sha3.h
11784
libcrux_ml_kem_types_MlKemPrivateKey_55 *private_key,
crypto/openssh/libcrux_mlkem768_sha3.h
11786
libcrux_ml_kem_ind_cca_decapsulate_700(private_key, ciphertext, ret);
crypto/openssh/libcrux_mlkem768_sha3.h
11797
libcrux_ml_kem_types_MlKemPrivateKey_55 *private_key,
crypto/openssh/libcrux_mlkem768_sha3.h
11800
private_key, ciphertext, ret);
crypto/openssh/libcrux_mlkem768_sha3.h
12082
libcrux_ml_kem_types_MlKemPrivateKey_55 private_key =
crypto/openssh/libcrux_mlkem768_sha3.h
12084
libcrux_ml_kem_types_MlKemPrivateKey_55 uu____2 = private_key;
crypto/openssh/libcrux_mlkem768_sha3.h
12142
libcrux_ml_kem_types_MlKemPrivateKey_55 *private_key,
crypto/openssh/libcrux_mlkem768_sha3.h
12146
Eurydice_array_to_subslice2(private_key->value, (size_t)384U * (size_t)3U,
crypto/openssh/libcrux_mlkem768_sha3.h
12151
private_key->value, (size_t)768U * (size_t)3U + (size_t)32U,
crypto/openssh/libcrux_mlkem768_sha3.h
12170
libcrux_ml_kem_types_MlKemPrivateKey_55 *private_key,
crypto/openssh/libcrux_mlkem768_sha3.h
12172
return libcrux_ml_kem_ind_cca_validate_private_key_e7(private_key,
crypto/openssh/libcrux_mlkem768_sha3.h
12182
libcrux_ml_kem_types_MlKemPrivateKey_55 *private_key,
crypto/openssh/libcrux_mlkem768_sha3.h
12185
private_key, ciphertext);
crypto/openssh/pkcs11.h
966
ck_object_handle_t *private_key));
crypto/openssl/crypto/asn1/n_pkey.c
28
ASN1_OCTET_STRING *private_key;
crypto/openssl/crypto/asn1/n_pkey.c
52
ASN1_SIMPLE(NETSCAPE_PKEY, private_key, ASN1_OCTET_STRING)
crypto/openssl/crypto/ec/curve25519.c
5627
const uint8_t public_key[32], const uint8_t private_key[32],
crypto/openssl/crypto/ec/curve25519.c
5656
|| !EVP_DigestUpdate(hash_ctx, private_key, 32)
crypto/openssl/crypto/ec/curve25519.c
5815
const uint8_t private_key[32],
crypto/openssl/crypto/ec/curve25519.c
5826
r = EVP_Digest(private_key, 32, az, NULL, sha512, NULL);
crypto/openssl/crypto/ec/curve25519.c
5844
int ossl_x25519(uint8_t out_shared_key[32], const uint8_t private_key[32],
crypto/openssl/crypto/ec/curve25519.c
5848
x25519_scalar_mult(out_shared_key, private_key, peer_public_value);
crypto/openssl/crypto/ec/curve25519.c
5854
const uint8_t private_key[32])
crypto/openssl/crypto/ec/curve25519.c
5860
memcpy(e, private_key, 32);
crypto/openssl/crypto/ec/curve448/curve448.c
730
int ossl_x448(uint8_t out_shared_key[56], const uint8_t private_key[56],
crypto/openssl/crypto/ec/curve448/curve448.c
733
return ossl_x448_int(out_shared_key, peer_public_value, private_key)
crypto/openssl/crypto/ec/curve448/curve448.c
738
const uint8_t private_key[56])
crypto/openssl/crypto/ec/curve448/curve448.c
740
ossl_x448_derive_public_key(out_public_value, private_key);
crypto/openssl/crypto/ec/curve448/eddsa.c
382
const uint8_t public_key[57], const uint8_t private_key[57],
crypto/openssl/crypto/ec/curve448/eddsa.c
386
return ossl_c448_ed448_sign(ctx, out_sig, private_key, public_key, message,
crypto/openssl/crypto/ec/curve448/eddsa.c
415
const uint8_t private_key[57], const char *propq)
crypto/openssl/crypto/ec/curve448/eddsa.c
417
return ossl_c448_ed448_derive_public_key(ctx, out_public_key, private_key,
crypto/openssl/include/crypto/ecx.h
108
const uint8_t private_key[57], const char *propq);
crypto/openssl/include/crypto/ecx.h
111
const uint8_t public_key[57], const uint8_t private_key[57],
crypto/openssl/include/crypto/ecx.h
123
int ossl_x448(uint8_t out_shared_key[56], const uint8_t private_key[56],
crypto/openssl/include/crypto/ecx.h
126
const uint8_t private_key[56]);
crypto/openssl/include/crypto/ecx.h
88
int ossl_x25519(uint8_t out_shared_key[32], const uint8_t private_key[32],
crypto/openssl/include/crypto/ecx.h
91
const uint8_t private_key[32]);
crypto/openssl/include/crypto/ecx.h
94
const uint8_t private_key[32],
crypto/openssl/include/crypto/ecx.h
97
const uint8_t public_key[32], const uint8_t private_key[32],
crypto/openssl/include/openssl/evp.h
1346
EVP_PKEY *private_key);
crypto/openssl/test/ml_kem_internal_test.c
105
ML_KEM_KEY *private_key = NULL;
crypto/openssl/test/ml_kem_internal_test.c
124
private_key = ossl_ml_kem_key_new(NULL, NULL, alg[i]);
crypto/openssl/test/ml_kem_internal_test.c
125
if (private_key == NULL || public_key == NULL
crypto/openssl/test/ml_kem_internal_test.c
137
private_key))
crypto/openssl/test/ml_kem_internal_test.c
190
ciphertext, v->ctext_bytes, private_key))
crypto/openssl/test/ml_kem_internal_test.c
203
private_key)))
crypto/openssl/test/ml_kem_internal_test.c
218
private_key)))
crypto/openssl/test/ml_kem_internal_test.c
234
ossl_ml_kem_key_free(private_key);
sys/dev/wg/if_wg.c
2709
uint8_t private_key[WG_KEY_SIZE] = { 0 };
sys/dev/wg/if_wg.c
2729
if (noise_local_keys(sc->sc_local, public_key, private_key) == 0) {
sys/dev/wg/if_wg.c
2732
nvlist_add_binary(nvl, "private-key", private_key, WG_KEY_SIZE);
sys/dev/wg/if_wg.c
2733
explicit_bzero(private_key, sizeof(private_key));