Home
last modified time | relevance | path

Searched refs:ctx_ctr (Results 1 – 3 of 3) sorted by relevance

/netbsd-src/crypto/external/bsd/openssl/dist/providers/implementations/rands/
H A Ddrbg_ctr.c41 EVP_CIPHER_CTX *ctx_ctr; member
300 || !EVP_CipherInit_ex(ctr->ctx_ctr, NULL, NULL, ctr->K, NULL, -1)) in ctr_update()
412 if (!EVP_CipherInit_ex(ctr->ctx_ctr, in drbg_ctr_generate()
438 if (!EVP_CipherUpdate(ctr->ctx_ctr, out, &outl, out, buflen) in drbg_ctr_generate()
538 if (ctr->ctx_ctr == NULL) in drbg_ctr_init()
539 ctr->ctx_ctr = EVP_CIPHER_CTX_new(); in drbg_ctr_init()
540 if (ctr->ctx_ecb == NULL || ctr->ctx_ctr == NULL) { in drbg_ctr_init()
547 || !EVP_CipherInit_ex(ctr->ctx_ctr, in drbg_ctr_init()
582 EVP_CIPHER_CTX_free(ctr->ctx_ctr); in drbg_ctr_init()
583 ctr->ctx_ecb = ctr->ctx_ctr = NULL; in drbg_ctr_init()
[all …]
/netbsd-src/crypto/external/bsd/openssl.old/dist/crypto/rand/
H A Ddrbg_ctr.c265 || !EVP_CipherInit_ex(ctr->ctx_ctr, NULL, NULL, ctr->K, NULL, -1)) in ctr_update()
353 if (!EVP_CipherInit_ex(ctr->ctx_ctr, in drbg_ctr_generate()
379 if (!EVP_CipherUpdate(ctr->ctx_ctr, out, &outl, out, buflen) in drbg_ctr_generate()
395 EVP_CIPHER_CTX_free(drbg->data.ctr.ctx_ctr); in drbg_ctr_uninstantiate()
439 if (ctr->ctx_ctr == NULL) in drbg_ctr_init()
440 ctr->ctx_ctr = EVP_CIPHER_CTX_new(); in drbg_ctr_init()
441 if (ctr->ctx_ecb == NULL || ctr->ctx_ctr == NULL in drbg_ctr_init()
444 || !EVP_CipherInit_ex(ctr->ctx_ctr, in drbg_ctr_init()
H A Drand_local.h142 EVP_CIPHER_CTX *ctx_ctr; member