Home
last modified time | relevance | path

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

/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()
100 const ECX_KEY *ecxkey = pkey->pkey.ecx; in ecx_priv_encode() local
105 if (ecxkey == NULL || ecxkey->privkey == NULL) { in ecx_priv_encode()
110 oct.data = ecxkey->privkey; in ecx_priv_encode()
169 const ECX_KEY *ecxkey = pkey->pkey.ecx; in ecx_key_print() local
173 if (ecxkey == NULL || ecxkey->privkey == NULL) { in ecx_key_print()
186 if (ecxkey == NULL) { in ecx_key_print()
728 const ECX_KEY *ecxkey, *peerkey; in validate_ecx_derive() local
736 if (ecxkey == NULL || ecxkey->privkey == NULL) { in validate_ecx_derive()
[all …]
/openssl/providers/implementations/keymgmt/
H A Decx_kmgmt.c399 OPENSSL_free(ecxkey->propq); in set_property_query()
400 ecxkey->propq = NULL; in set_property_query()
402 ecxkey->propq = OPENSSL_strdup(propq); in set_property_query()
403 if (ecxkey->propq == NULL) in set_property_query()
411 ECX_KEY *ecxkey = key; in ecx_set_params() local
419 void *buf = ecxkey->pubkey; in ecx_set_params()
421 if (p->data_size != ecxkey->keylen in ecx_set_params()
425 OPENSSL_clear_free(ecxkey->privkey, ecxkey->keylen); in ecx_set_params()
426 ecxkey->privkey = NULL; in ecx_set_params()
427 ecxkey->haspubkey = 1; in ecx_set_params()
[all …]
/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()
777 return ecxkey->keylen; in ecx_spki_pub_to_der()
782 const ECX_KEY *ecxkey = vecxkey; in ecx_pki_priv_to_der() local
786 if (ecxkey == NULL || ecxkey->privkey == NULL) { in ecx_pki_priv_to_der()
791 oct.data = ecxkey->privkey; in ecx_pki_priv_to_der()
792 oct.length = ecxkey->keylen; in ecx_pki_priv_to_der()

Completed in 18 milliseconds