Home
last modified time | relevance | path

Searched refs:nblocks (Results 1 – 4 of 4) sorted by relevance

/optee_os-3.20.0/core/crypto/
A Dcbc-mac.c60 size_t nblocks = 0; in crypto_cbc_mac_update() local
83 nblocks = MIN(len / mc->block_len, in crypto_cbc_mac_update()
85 if (nblocks > 1) in crypto_cbc_mac_update()
86 out_tmp = malloc(nblocks * mc->block_len); in crypto_cbc_mac_update()
89 nblocks = MIN(len / mc->block_len, in crypto_cbc_mac_update()
92 if (nblocks > 1 && out_tmp) { in crypto_cbc_mac_update()
93 out_len = nblocks * mc->block_len; in crypto_cbc_mac_update()
98 nblocks = 1; in crypto_cbc_mac_update()
108 if (nblocks > 1 && len < mc->block_len) { in crypto_cbc_mac_update()
A Drng_fortuna.c315 static TEE_Result generate_blocks(void *block, size_t nblocks) in generate_blocks() argument
320 for (n = 0; n < nblocks; n++) { in generate_blocks()
/optee_os-3.20.0/lib/libmbedtls/mbedtls/library/
A Dpoly1305.c95 size_t nblocks, in poly1305_process() argument
122 for( i = 0U; i < nblocks; i++ ) in poly1305_process()
312 size_t nblocks; in mbedtls_poly1305_update() local
351 nblocks = remaining / POLY1305_BLOCK_SIZE_BYTES; in mbedtls_poly1305_update()
353 poly1305_process( ctx, nblocks, &input[offset], 1U ); in mbedtls_poly1305_update()
355 offset += nblocks * POLY1305_BLOCK_SIZE_BYTES; in mbedtls_poly1305_update()
/optee_os-3.20.0/core/tee/
A Dtee_rpmb_fs.c1098 uint32_t nblocks = 0; in tee_rpmb_init() local
1132 RPMB_SIZE_SINGLE / RPMB_DATA_SIZE, &nblocks) || in tee_rpmb_init()
1133 SUB_OVERFLOW(nblocks, 1, &rpmb_ctx->max_blk_idx)) { in tee_rpmb_init()

Completed in 11 milliseconds