Lines Matching refs:ecxkey
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()
186 if (ecxkey == NULL) { in ecx_key_print()
197 if (ASN1_buf_print(bp, ecxkey->pubkey, KEYLEN(pkey), in ecx_key_print()
728 const ECX_KEY *ecxkey, *peerkey; in validate_ecx_derive() local
734 ecxkey = evp_pkey_get_legacy(ctx->pkey); in validate_ecx_derive()
736 if (ecxkey == NULL || ecxkey->privkey == NULL) { in validate_ecx_derive()
744 *privkey = ecxkey->privkey; in validate_ecx_derive()