Searched refs:ecxkey (Results 1 – 3 of 3) sorted by relevance
| /freebsd/crypto/openssl/crypto/ec/ |
| H A D | ecx_meth.c | 33 const ECX_KEY *ecxkey = pkey->pkey.ecx; in ecx_pub_encode() local 36 if (ecxkey == NULL) { in ecx_pub_encode() 41 penc = OPENSSL_memdup(ecxkey->pubkey, KEYLEN(pkey)); 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() 182 if (ASN1_buf_print(bp, ecxkey->privkey, KEYLEN(pkey), in ecx_key_print() 187 if (ecxkey == NULL) { in ecx_key_print() [all …]
|
| /freebsd/crypto/openssl/providers/implementations/keymgmt/ |
| H A D | ecx_kmgmt.c | 408 static int set_property_query(ECX_KEY *ecxkey, const char *propq) in set_property_query() argument 410 OPENSSL_free(ecxkey->propq); in set_property_query() 411 ecxkey->propq = NULL; in set_property_query() 413 ecxkey->propq = OPENSSL_strdup(propq); in set_property_query() 414 if (ecxkey->propq == NULL) in set_property_query() 422 ECX_KEY *ecxkey = key; in ecx_set_params() local 430 void *buf = ecxkey->pubkey; in ecx_set_params() 432 if (p->data_size != ecxkey->keylen in ecx_set_params() 433 || !OSSL_PARAM_get_octet_string(p, &buf, sizeof(ecxkey->pubkey), in ecx_set_params() 436 OPENSSL_clear_free(ecxkey->privkey, ecxkey->keylen); in ecx_set_params() [all …]
|
| /freebsd/crypto/openssl/providers/implementations/encode_decode/ |
| H A D | encode_key2any.c | 784 const ECX_KEY *ecxkey = vecxkey; in k2d_NOCTX() local 787 if (ecxkey == NULL) { in k2d_NOCTX() 792 keyblob = OPENSSL_memdup(ecxkey->pubkey, ecxkey->keylen); in k2d_NOCTX() 797 return ecxkey->keylen; in k2d_NOCTX() 803 const ECX_KEY *ecxkey = vecxkey; in ecx_pki_priv_to_der() local 807 if (ecxkey == NULL || ecxkey->privkey == NULL) { in ecx_pki_priv_to_der() 812 oct.data = ecxkey->privkey; in ecx_pki_priv_to_der() 813 oct.length = ecxkey->keylen; in ecx_pki_priv_to_der()
|