Home
last modified time | relevance | path

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

/optee_os-3.20.0/core/tee/
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()
A Dtee_cryp_utl.c106 if (mode != TEE_MODE_ENCRYPT && mode != TEE_MODE_DECRYPT) in tee_do_cipher_update()
A Dtadb.c661 res = tadb_authenc_init(TEE_MODE_DECRYPT, &ta->entry, &ta->ctx); in tee_tadb_ta_open()
733 res = tadb_update_payload(ta->ctx, TEE_MODE_DECRYPT, in tee_tadb_ta_read()
748 res = tadb_update_payload(ta->ctx, TEE_MODE_DECRYPT, in tee_tadb_ta_read()
A Dtee_fs_key_manager.c244 res = tee_fs_fek_crypt(uuid, TEE_MODE_DECRYPT, encrypted_fek, in tee_fs_crypt_block()
A Dfs_htree.c549 res = tee_fs_fek_crypt(ht->uuid, TEE_MODE_DECRYPT, ht->head.enc_fek, in verify_root()
554 res = authenc_init(&ctx, TEE_MODE_DECRYPT, ht, NULL, sizeof(ht->imeta)); in verify_root()
894 res = authenc_init(&ctx, TEE_MODE_DECRYPT, ht, &node->node, in tee_fs_htree_read_block()
A Dtee_svc_cryp.c3941 if (cs->mode != TEE_MODE_DECRYPT) in syscall_authenc_dec_final()
4088 } else if (cs->mode == TEE_MODE_DECRYPT) { in syscall_asymm_operate()
4106 } else if (cs->mode == TEE_MODE_DECRYPT) { in syscall_asymm_operate()
4134 } else if (cs->mode == TEE_MODE_DECRYPT) { in syscall_asymm_operate()
A Dtee_rpmb_fs.c501 blk_idx, fek, TEE_MODE_DECRYPT); in decrypt_block()
/optee_os-3.20.0/core/drivers/crypto/se050/core/
A Dcipher.c19 TEE_OperationMode mode = TEE_MODE_DECRYPT; in do_init()
/optee_os-3.20.0/lib/libutee/include/
A Dtee_api_types.h122 TEE_MODE_DECRYPT = 1, enumerator
/optee_os-3.20.0/ta/trusted_keys/
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-3.20.0/core/crypto/
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()
402 res = __gcm_init(&state, enc_key, TEE_MODE_DECRYPT, nonce, nonce_len, in internal_aes_gcm_dec()
A Dcrypto.c185 if (mode != TEE_MODE_DECRYPT && mode != TEE_MODE_ENCRYPT) in crypto_cipher_init()
/optee_os-3.20.0/core/pta/tests/
A Daes_perf.c200 mode = TEE_MODE_DECRYPT; in core_aes_perf_tests()
/optee_os-3.20.0/core/lib/libtomcrypt/
A Dccm.c200 res = crypto_aes_ccm_update_payload(aectx, TEE_MODE_DECRYPT, src_data, in crypto_aes_ccm_dec_final()
A Dgcm.c188 res = crypto_aes_gcm_update_payload(aectx, TEE_MODE_DECRYPT, src_data, in crypto_aes_gcm_dec_final()
/optee_os-3.20.0/lib/libutee/
A Dtee_api_operations.c146 else if (mode == TEE_MODE_DECRYPT) in TEE_AllocateOperation()
195 } else if (mode == TEE_MODE_DECRYPT) { in TEE_AllocateOperation()
206 } else if (mode == TEE_MODE_DECRYPT) { in TEE_AllocateOperation()
1693 if (operation->info.mode != TEE_MODE_DECRYPT) in TEE_AsymmetricDecrypt()
/optee_os-3.20.0/ta/pkcs11/src/
A Dpkcs11_helpers.c694 *tee_id = TEE_MODE_DECRYPT; in pkcs2tee_mode()

Completed in 34 milliseconds