Home
last modified time | relevance | path

Searched refs:ec_cdata (Results 1 – 2 of 2) sorted by relevance

/external/python/cryptography/src/cryptography/hazmat/backends/openssl/
Dbackend.py503 ec_cdata = self._lib.EVP_PKEY_get1_EC_KEY(evp_pkey)
504 self.openssl_assert(ec_cdata != self._ffi.NULL)
505 ec_cdata = self._ffi.gc(ec_cdata, self._lib.EC_KEY_free)
506 return _EllipticCurvePrivateKey(self, ec_cdata, evp_pkey)
540 ec_cdata = self._lib.EVP_PKEY_get1_EC_KEY(evp_pkey)
541 self.openssl_assert(ec_cdata != self._ffi.NULL)
542 ec_cdata = self._ffi.gc(ec_cdata, self._lib.EC_KEY_free)
543 return _EllipticCurvePublicKey(self, ec_cdata, evp_pkey)
1349 ec_cdata = self._ec_key_new_by_curve(curve)
1351 res = self._lib.EC_KEY_generate_key(ec_cdata)
[all …]
Dec.py48 def _mark_asn1_named_ec_curve(backend, ec_cdata): argument
56 ec_cdata, backend._lib.OPENSSL_EC_NAMED_CURVE