Home
last modified time | relevance | path

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

/external/python/cryptography/src/cryptography/hazmat/backends/openssl/
Dbackend.py369 rsa_cdata = self._lib.RSA_new()
370 self.openssl_assert(rsa_cdata != self._ffi.NULL)
371 rsa_cdata = self._ffi.gc(rsa_cdata, self._lib.RSA_free)
377 rsa_cdata, key_size, bn, self._ffi.NULL
380 evp_pkey = self._rsa_cdata_to_evp_pkey(rsa_cdata)
382 return _RSAPrivateKey(self, rsa_cdata, evp_pkey)
399 rsa_cdata = self._lib.RSA_new()
400 self.openssl_assert(rsa_cdata != self._ffi.NULL)
401 rsa_cdata = self._ffi.gc(rsa_cdata, self._lib.RSA_free)
410 res = self._lib.RSA_set0_factors(rsa_cdata, p, q)
[all …]
Drsa.py334 def __init__(self, backend, rsa_cdata, evp_pkey): argument
336 self._rsa_cdata = rsa_cdata
423 def __init__(self, backend, rsa_cdata, evp_pkey): argument
425 self._rsa_cdata = rsa_cdata