Searched refs:blk_idx (Results 1 – 3 of 3) sorted by relevance
| /optee_os/core/tee/ |
| H A D | tee_fs_key_manager.c | 207 uint16_t blk_idx) in essiv() argument 217 pad_blkid[0] = (blk_idx & 0xFF); in essiv() 218 pad_blkid[1] = (blk_idx & 0xFF00) >> 8; in essiv() 231 uint16_t blk_idx, const uint8_t *encrypted_fek, in tee_fs_crypt_block() argument 240 blk_idx); in tee_fs_crypt_block() 249 res = essiv(iv, fek, blk_idx); in tee_fs_crypt_block()
|
| H A D | tee_rpmb_fs.c | 224 uint16_t *blk_idx; member 560 uint16_t blk_idx, const uint8_t *fek, in encrypt_block() argument 564 blk_idx, fek, TEE_MODE_ENCRYPT); in encrypt_block() 568 uint16_t blk_idx, const uint8_t *fek, in decrypt_block() argument 572 blk_idx, fek, TEE_MODE_DECRYPT); in decrypt_block() 578 uint16_t blk_idx __maybe_unused, const uint8_t *fek, in decrypt() 604 res = decrypt_block(tmp, frm->data, blk_idx, fek, uuid); in decrypt() 609 res = decrypt_block(out, frm->data, blk_idx, fek, uuid); in decrypt() 657 if (rawdata->blk_idx) { in tee_rpmb_req_pack() 659 if ((*rawdata->blk_idx + nbr_frms - 1) > in tee_rpmb_req_pack() [all …]
|
| /optee_os/core/include/tee/ |
| H A D | tee_fs_key_manager.h | 23 uint16_t blk_idx, const uint8_t *encrypted_fek,
|