Home
last modified time | relevance | path

Searched refs:ecxkey (Results 1 – 3 of 3) sorted by relevance

/freebsd-14.2/crypto/openssl/providers/implementations/keymgmt/
H A Decx_kmgmt.c383 OPENSSL_free(ecxkey->propq); in set_property_query()
384 ecxkey->propq = NULL; in set_property_query()
386 ecxkey->propq = OPENSSL_strdup(propq); in set_property_query()
387 if (ecxkey->propq == NULL) { in set_property_query()
397 ECX_KEY *ecxkey = key; in ecx_set_params() local
405 void *buf = ecxkey->pubkey; in ecx_set_params()
407 if (p->data_size != ecxkey->keylen in ecx_set_params()
411 OPENSSL_clear_free(ecxkey->privkey, ecxkey->keylen); in ecx_set_params()
412 ecxkey->privkey = NULL; in ecx_set_params()
413 ecxkey->haspubkey = 1; in ecx_set_params()
[all …]
/freebsd-14.2/crypto/openssl/crypto/ec/
H A Decx_meth.c33 const ECX_KEY *ecxkey = pkey->pkey.ecx; in ecx_pub_encode() local
36 if (ecxkey == NULL) { in ecx_pub_encode()
102 const ECX_KEY *ecxkey = pkey->pkey.ecx; in ecx_priv_encode() local
107 if (ecxkey == NULL || ecxkey->privkey == NULL) { in ecx_priv_encode()
112 oct.data = ecxkey->privkey; in ecx_priv_encode()
171 const ECX_KEY *ecxkey = pkey->pkey.ecx; in ecx_key_print() local
175 if (ecxkey == NULL || ecxkey->privkey == NULL) { in ecx_key_print()
188 if (ecxkey == NULL) { in ecx_key_print()
729 const ECX_KEY *ecxkey, *peerkey; in validate_ecx_derive() local
737 if (ecxkey == NULL || ecxkey->privkey == NULL) { in validate_ecx_derive()
[all …]
/freebsd-14.2/crypto/openssl/providers/implementations/encode_decode/
H A Dencode_key2any.c764 const ECX_KEY *ecxkey = vecxkey; in ecx_spki_pub_to_der() local
767 if (ecxkey == NULL) { in ecx_spki_pub_to_der()
772 keyblob = OPENSSL_memdup(ecxkey->pubkey, ecxkey->keylen); in ecx_spki_pub_to_der()
779 return ecxkey->keylen; in ecx_spki_pub_to_der()
784 const ECX_KEY *ecxkey = vecxkey; in ecx_pki_priv_to_der() local
788 if (ecxkey == NULL || ecxkey->privkey == NULL) { in ecx_pki_priv_to_der()
793 oct.data = ecxkey->privkey; in ecx_pki_priv_to_der()
794 oct.length = ecxkey->keylen; in ecx_pki_priv_to_der()