Searched refs:nblocks (Results 1 – 4 of 4) sorted by relevance
| /optee_os/core/crypto/ |
| H A D | cbc-mac.c | 60 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 = calloc(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()
|
| H A D | rng_fortuna.c | 315 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/lib/libmbedtls/mbedtls/library/ |
| H A D | poly1305.c | 65 size_t nblocks, in poly1305_process() argument 92 for (i = 0U; i < nblocks; i++) { in poly1305_process() 277 size_t nblocks; in mbedtls_poly1305_update() local 309 nblocks = remaining / POLY1305_BLOCK_SIZE_BYTES; in mbedtls_poly1305_update() 311 poly1305_process(ctx, nblocks, &input[offset], 1U); in mbedtls_poly1305_update() 313 offset += nblocks * POLY1305_BLOCK_SIZE_BYTES; in mbedtls_poly1305_update()
|
| /optee_os/core/tee/ |
| H A D | tee_rpmb_fs.c | 1110 uint32_t nblocks = 0; in rpmb_set_dev_info() local 1124 RPMB_SIZE_SINGLE / RPMB_DATA_SIZE, &nblocks) || in rpmb_set_dev_info() 1125 SUB_OVERFLOW(nblocks, 1, &rpmb_ctx->max_blk_idx)) in rpmb_set_dev_info()
|