Home
last modified time | relevance | path

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

/third_party/python/Modules/
D_hashopenssl.c1216 PyObject *key_obj = NULL; in pbkdf2_hmac_impl() local
1269 key_obj = PyBytes_FromStringAndSize(NULL, dklen); in pbkdf2_hmac_impl()
1270 if (key_obj == NULL) { in pbkdf2_hmac_impl()
1273 key = PyBytes_AS_STRING(key_obj); in pbkdf2_hmac_impl()
1283 Py_CLEAR(key_obj); in pbkdf2_hmac_impl()
1292 return key_obj; in pbkdf2_hmac_impl()
1323 PyObject *key_obj = NULL; in _hashlib_scrypt_impl() local
1394 key_obj = PyBytes_FromStringAndSize(NULL, dklen); in _hashlib_scrypt_impl()
1395 if (key_obj == NULL) { in _hashlib_scrypt_impl()
1398 key = PyBytes_AS_STRING(key_obj); in _hashlib_scrypt_impl()
[all …]
/third_party/openssl/crypto/ts/
Dts_conf.c245 EVP_PKEY *key_obj = NULL; in TS_CONF_set_signer_key() local
252 if ((key_obj = TS_CONF_load_key(key, pass)) == NULL) in TS_CONF_set_signer_key()
254 if (!TS_RESP_CTX_set_signer_key(ctx, key_obj)) in TS_CONF_set_signer_key()
259 EVP_PKEY_free(key_obj); in TS_CONF_set_signer_key()