Searched refs:dsa_cdata (Results 1 – 2 of 2) sorted by relevance
/external/python/cryptography/src/cryptography/hazmat/backends/openssl/ |
D | dsa.py | 86 def __init__(self, backend, dsa_cdata): argument 88 self._dsa_cdata = dsa_cdata 110 def __init__(self, backend, dsa_cdata, evp_pkey): argument 112 self._dsa_cdata = dsa_cdata 117 dsa_cdata, p, self._backend._ffi.NULL, self._backend._ffi.NULL 155 dsa_cdata = self._backend._lib.DSAparams_dup(self._dsa_cdata) 156 self._backend.openssl_assert(dsa_cdata != self._backend._ffi.NULL) 157 dsa_cdata = self._backend._ffi.gc( 158 dsa_cdata, self._backend._lib.DSA_free 167 dsa_cdata, pub_key_dup, self._backend._ffi.NULL [all …]
|
D | backend.py | 498 dsa_cdata = self._lib.EVP_PKEY_get1_DSA(evp_pkey) 499 self.openssl_assert(dsa_cdata != self._ffi.NULL) 500 dsa_cdata = self._ffi.gc(dsa_cdata, self._lib.DSA_free) 501 return _DSAPrivateKey(self, dsa_cdata, evp_pkey) 535 dsa_cdata = self._lib.EVP_PKEY_get1_DSA(evp_pkey) 536 self.openssl_assert(dsa_cdata != self._ffi.NULL) 537 dsa_cdata = self._ffi.gc(dsa_cdata, self._lib.DSA_free) 538 return _DSAPublicKey(self, dsa_cdata, evp_pkey) 619 def _dsa_cdata_set_values(self, dsa_cdata, p, q, g, pub_key, priv_key): argument 620 res = self._lib.DSA_set0_pqg(dsa_cdata, p, q, g) [all …]
|