Home
last modified time | relevance | path

Searched refs:_openssl_assert (Results 1 – 5 of 5) sorted by relevance

/external/python/pyopenssl/src/OpenSSL/
Dcrypto.py87 _openssl_assert = _make_assert(Error) variable
132 _openssl_assert(bio != _ffi.NULL)
317 _openssl_assert(result == 1)
320 _openssl_assert(result == 1)
324 _openssl_assert(dsa != _ffi.NULL)
330 _openssl_assert(res == 1)
332 _openssl_assert(_lib.DSA_generate_key(dsa) == 1)
333 _openssl_assert(_lib.EVP_PKEY_set1_DSA(self._pkey, dsa) == 1)
623 _openssl_assert(data_length >= 0)
660 _openssl_assert(format_result != _ffi.NULL)
[all …]
DSSL.py245 _openssl_assert = _make_assert(Error) variable
635 _openssl_assert(method_obj != _ffi.NULL)
638 _openssl_assert(context != _ffi.NULL)
645 _openssl_assert(res == 1)
756 _openssl_assert(set_result == 1)
950 _openssl_assert(ca_list != _ffi.NULL)
965 _openssl_assert(
1082 _openssl_assert(res == 1)
1111 _openssl_assert(
1149 _openssl_assert(name_stack != _ffi.NULL)
[all …]
/external/python/cryptography/src/cryptography/hazmat/bindings/openssl/
Dbinding.py54 def _openssl_assert(lib, ok): function
120 _openssl_assert(cls.lib, result in (1, 2))
151 _openssl_assert(cls.lib, res == 1)
/external/python/cryptography/tests/hazmat/bindings/
Dtest_openssl.py11 Binding, _consume_errors, _openssl_assert
101 _openssl_assert(b.lib, False)
/external/python/cryptography/src/cryptography/hazmat/backends/openssl/
Dbackend.py119 return binding._openssl_assert(self._lib, ok)