Lines Matching refs:outlen
105 int i, outlen = AES_BLOCK_SIZE; in ctr_BCC_block() local
110 if (!EVP_CipherUpdate(ctr->ctx_df, out, &outlen, out, len) in ctr_BCC_block()
111 || outlen != len) in ctr_BCC_block()
206 int outlen = AES_BLOCK_SIZE; in ctr_df() local
239 if (!EVP_CipherUpdate(ctr->ctx_ecb, ctr->KX, &outlen, ctr->KX + ctr->keylen, in ctr_df()
241 || outlen != AES_BLOCK_SIZE) in ctr_df()
243 if (!EVP_CipherUpdate(ctr->ctx_ecb, ctr->KX + 16, &outlen, ctr->KX, in ctr_df()
245 || outlen != AES_BLOCK_SIZE) in ctr_df()
248 if (!EVP_CipherUpdate(ctr->ctx_ecb, ctr->KX + 32, &outlen, in ctr_df()
250 || outlen != AES_BLOCK_SIZE) in ctr_df()
267 int outlen = AES_BLOCK_SIZE; in ctr_update() local
282 if (!EVP_CipherUpdate(ctr->ctx_ecb, out, &outlen, V_tmp, len) in ctr_update()
283 || outlen != len) in ctr_update()
389 unsigned char *out, size_t outlen, in drbg_ctr_generate() argument
412 if (outlen == 0) { in drbg_ctr_generate()
420 memset(out, 0, outlen); in drbg_ctr_generate()
434 buflen = outlen > (1U << 30) ? (1U << 30) : outlen; in drbg_ctr_generate()
454 outlen -= buflen; in drbg_ctr_generate()
455 } while (outlen); in drbg_ctr_generate()
463 (void *vdrbg, unsigned char *out, size_t outlen, in drbg_ctr_generate_wrapper() argument
469 return ossl_prov_drbg_generate(drbg, out, outlen, strength, in drbg_ctr_generate_wrapper()