Home
last modified time | relevance | path

Searched refs:TEE_MODE_DECRYPT (Results 1 – 19 of 19) sorted by relevance

/optee_os/core/tee/
H A Dtee_ta_enc_manager.c27 res = crypto_authenc_init(*enc_ctx, TEE_MODE_DECRYPT, key, sizeof(key), in tee_ta_decrypt_init()
45 res = crypto_authenc_update_payload(enc_ctx, TEE_MODE_DECRYPT, src, len, in tee_ta_decrypt_update()
H A Dtee_cryp_utl.c105 if (mode != TEE_MODE_ENCRYPT && mode != TEE_MODE_DECRYPT) in tee_do_cipher_update()
H A Dtee_fs_key_manager.c243 res = tee_fs_fek_crypt(uuid, TEE_MODE_DECRYPT, encrypted_fek, in tee_fs_crypt_block()
H A Dfs_htree.c568 res = tee_fs_fek_crypt(ht->uuid, TEE_MODE_DECRYPT, ht->head.enc_fek, in verify_root()
573 res = authenc_init(&ctx, TEE_MODE_DECRYPT, ht, NULL, sizeof(ht->imeta)); in verify_root()
950 res = authenc_init(&ctx, TEE_MODE_DECRYPT, ht, &node->node, in tee_fs_htree_read_block()
H A Dtadb.c661 res = tadb_authenc_init(TEE_MODE_DECRYPT, &ta->entry, &ta->ctx); in tee_tadb_ta_open()
757 res = tadb_update_payload(ta->ctx, TEE_MODE_DECRYPT, in tee_tadb_ta_read()
H A Dtee_svc_cryp.c4329 if (cs->mode != TEE_MODE_DECRYPT) in syscall_authenc_dec_final()
4484 } else if (cs->mode == TEE_MODE_DECRYPT) { in syscall_asymm_operate()
4506 } else if (cs->mode == TEE_MODE_DECRYPT) { in syscall_asymm_operate()
4560 } else if (cs->mode == TEE_MODE_DECRYPT) { in syscall_asymm_operate()
H A Dtee_rpmb_fs.c572 blk_idx, fek, TEE_MODE_DECRYPT); in decrypt_block()
/optee_os/core/drivers/crypto/se050/core/
H A Dcipher.c19 TEE_OperationMode mode = TEE_MODE_DECRYPT; in do_init()
/optee_os/ta/trusted_keys/
H A Dentry.c188 } else if (mode == TEE_MODE_DECRYPT) { in huk_crypt()
280 res = huk_crypt(TEE_MODE_DECRYPT, in, in_sz, out, &out_sz); in unseal_trusted_key()
/optee_os/core/crypto/
H A Daes-gcm.c214 if (!state->buf_pos && mode == TEE_MODE_DECRYPT) in __gcm_update_payload()
328 res = operation_final(state, enc_key, TEE_MODE_DECRYPT, src, len, dst); in __gcm_dec_final()
400 res = __gcm_init(&state, enc_key, TEE_MODE_DECRYPT, nonce, nonce_len, in internal_aes_gcm_dec()
H A Dcrypto.c202 if (mode != TEE_MODE_DECRYPT && mode != TEE_MODE_ENCRYPT) in crypto_cipher_init()
/optee_os/core/pta/tests/
H A Daes_perf.c199 mode = TEE_MODE_DECRYPT; in core_aes_perf_tests()
/optee_os/core/lib/libtomcrypt/
H A Dgcm.c189 res = crypto_aes_gcm_update_payload(aectx, TEE_MODE_DECRYPT, src_data, in crypto_aes_gcm_dec_final()
H A Dccm.c200 res = crypto_aes_ccm_update_payload(aectx, TEE_MODE_DECRYPT, src_data, in crypto_aes_ccm_dec_final()
/optee_os/lib/libutee/include/
H A Dtee_api_defines.h181 #define TEE_MODE_DECRYPT 0x00000001 macro
/optee_os/core/drivers/crypto/stm32/
H A Dcipher.c127 mode = TEE_MODE_DECRYPT; in saes_init()
/optee_os/lib/libutee/
H A Dtee_api_operations.c163 else if (mode == TEE_MODE_DECRYPT) in TEE_AllocateOperation()
219 } else if (mode == TEE_MODE_DECRYPT) { in TEE_AllocateOperation()
230 } else if (mode == TEE_MODE_DECRYPT) { in TEE_AllocateOperation()
2119 if (operation->info.mode != TEE_MODE_DECRYPT) in TEE_AsymmetricDecrypt()
2158 if (operation->info.mode != TEE_MODE_DECRYPT) in __GP11_TEE_AsymmetricDecrypt()
/optee_os/ta/pkcs11/src/
H A Dpkcs11_helpers.c709 *tee_id = TEE_MODE_DECRYPT; in pkcs2tee_mode()
H A Dprocessing_asymm.c247 mode = TEE_MODE_DECRYPT; in allocate_tee_operation()