Lines Matching refs:ctx_ecb
42 EVP_CIPHER_CTX *ctx_ecb; member
236 if (!EVP_CipherInit_ex(ctr->ctx_ecb, NULL, NULL, ctr->KX, NULL, -1)) in ctr_df()
239 if (!EVP_CipherUpdate(ctr->ctx_ecb, ctr->KX, &outlen, ctr->KX + ctr->keylen, in ctr_df()
243 if (!EVP_CipherUpdate(ctr->ctx_ecb, ctr->KX + 16, &outlen, ctr->KX, in ctr_df()
248 if (!EVP_CipherUpdate(ctr->ctx_ecb, ctr->KX + 32, &outlen, in ctr_df()
282 if (!EVP_CipherUpdate(ctr->ctx_ecb, out, &outlen, V_tmp, len) in ctr_update()
301 if (!EVP_CipherInit_ex(ctr->ctx_ecb, NULL, NULL, ctr->K, NULL, -1) in ctr_update()
319 if (!EVP_CipherInit_ex(ctr->ctx_ecb, NULL, NULL, ctr->K, NULL, -1)) in drbg_ctr_instantiate()
567 if (ctr->ctx_ecb == NULL) in drbg_ctr_init()
568 ctr->ctx_ecb = EVP_CIPHER_CTX_new(); in drbg_ctr_init()
571 if (ctr->ctx_ecb == NULL || ctr->ctx_ctr == NULL) { in drbg_ctr_init()
576 if (!EVP_CipherInit_ex(ctr->ctx_ecb, in drbg_ctr_init()
612 EVP_CIPHER_CTX_free(ctr->ctx_ecb); in drbg_ctr_init()
614 ctr->ctx_ecb = ctr->ctx_ctr = NULL; in drbg_ctr_init()
647 EVP_CIPHER_CTX_free(ctr->ctx_ecb); in drbg_ctr_free()