Searched refs:fek (Results 1 – 3 of 3) sorted by relevance
/optee_os-3.20.0/core/tee/ |
A D | tee_fs_key_manager.c | 207 const uint8_t fek[TEE_FS_KM_FEK_SIZE], in essiv() 214 res = sha256(sha, sizeof(sha), fek, TEE_FS_KM_FEK_SIZE); in essiv() 236 uint8_t fek[TEE_FS_KM_FEK_SIZE]; in tee_fs_crypt_block() local 245 TEE_FS_KM_FEK_SIZE, fek); in tee_fs_crypt_block() 250 res = essiv(iv, fek, blk_idx); in tee_fs_crypt_block() 259 res = crypto_cipher_init(ctx, mode, fek, sizeof(fek), NULL, in tee_fs_crypt_block() 272 memzero_explicit(fek, sizeof(fek)); in tee_fs_crypt_block()
|
A D | tee_rpmb_fs.c | 78 uint8_t fek[TEE_FS_KM_FEK_SIZE]; member 517 if (!fek) { in decrypt() 602 if (fek) { in tee_rpmb_req_pack() 607 fek, uuid); in tee_rpmb_req_pack() 677 const uint8_t *fek, in tee_rpmb_data_cpy_mac_calc() argument 739 fek, uuid); in tee_rpmb_data_cpy_mac_calc() 852 fek, uuid); in tee_rpmb_resp_unpack_verify() 1508 fek, uuid); in tee_rpmb_write() 2298 res = tee_fs_generate_fek(uuid, fe->fek, sizeof(fe->fek)); in generate_fek() 2302 if (is_zero(fe->fek, sizeof(fe->fek))) in generate_fek() [all …]
|
A D | fs_htree.c | 91 uint8_t fek[TEE_FS_HTREE_FEK_SIZE]; member 466 res = crypto_authenc_init(ctx, mode, ht->fek, TEE_FS_HTREE_FEK_SIZE, iv, in authenc_init() 550 sizeof(ht->fek), ht->fek); in verify_root() 631 res = crypto_rng_read(ht->fek, sizeof(ht->fek)); in tee_fs_htree_open() 635 res = tee_fs_fek_crypt(ht->uuid, TEE_MODE_ENCRYPT, ht->fek, in tee_fs_htree_open() 636 sizeof(ht->fek), ht->head.enc_fek); in tee_fs_htree_open()
|
Completed in 13 milliseconds