Searched refs:blk_size (Results 1 – 2 of 2) sorted by relevance
| /optee_os/core/drivers/crypto/aspeed/ |
| H A D | hace_ast2600.c | 47 uint32_t blk_size; member 172 size_t blk_size = 0; in ast2600_hace_update() local 180 blk_size = hctx->blk_size; in ast2600_hace_update() 182 left = hctx->total[0] & (blk_size - 1); in ast2600_hace_update() 183 fill = blk_size - left; in ast2600_hace_update() 191 rc = ast2600_hace_process(ctx, hctx->buf, blk_size); in ast2600_hace_update() 200 while (len >= blk_size) { in ast2600_hace_update() 201 memcpy(hctx->buf, data, blk_size); in ast2600_hace_update() 202 rc = ast2600_hace_process(ctx, hctx->buf, blk_size); in ast2600_hace_update() 206 data += blk_size; in ast2600_hace_update() [all …]
|
| /optee_os/core/tee/ |
| H A D | tee_rpmb_fs.c | 2483 size_t blk_size = 0; in update_write_helper() local 2495 blk_size = MIN(TMP_BLOCK_SIZE, new_size - blk_offset); in update_write_helper() 2496 memset(blk_buf, 0, blk_size); in update_write_helper() 2500 rd_size = MIN(blk_size, old_size - blk_offset); in update_write_helper() 2531 res = tee_rpmb_write(new_fat + blk_offset, blk_buf, blk_size, in update_write_helper() 2536 blk_offset += blk_size; in update_write_helper()
|