Home
last modified time | relevance | path

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

/third_party/openssl/crypto/rand/
Ddrbg_ctr.c199 if (!EVP_CipherInit_ex(ctr->ctx_ecb, NULL, NULL, ctr->KX, NULL, -1)) in ctr_df()
202 if (!EVP_CipherUpdate(ctr->ctx_ecb, ctr->KX, &outlen, ctr->KX + ctr->keylen, in ctr_df()
206 if (!EVP_CipherUpdate(ctr->ctx_ecb, ctr->KX + 16, &outlen, ctr->KX, in ctr_df()
211 if (!EVP_CipherUpdate(ctr->ctx_ecb, ctr->KX + 32, &outlen, in ctr_df()
245 if (!EVP_CipherUpdate(ctr->ctx_ecb, out, &outlen, V_tmp, len) in ctr_update()
264 if (!EVP_CipherInit_ex(ctr->ctx_ecb, NULL, NULL, ctr->K, NULL, -1) in ctr_update()
282 if (!EVP_CipherInit_ex(ctr->ctx_ecb, NULL, NULL, ctr->K, NULL, -1)) in drbg_ctr_instantiate()
394 EVP_CIPHER_CTX_free(drbg->data.ctr.ctx_ecb); in drbg_ctr_uninstantiate()
437 if (ctr->ctx_ecb == NULL) in drbg_ctr_init()
438 ctr->ctx_ecb = EVP_CIPHER_CTX_new(); in drbg_ctr_init()
[all …]
Drand_local.h141 EVP_CIPHER_CTX *ctx_ecb; member