Home
last modified time | relevance | path

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

/optee_os/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.c105 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 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_fs_key_manager.c244 res = tee_fs_fek_crypt(uuid, TEE_MODE_DECRYPT, encrypted_fek, in tee_fs_crypt_block()
A Dtee_svc_cryp.c3447 if (cs->mode != TEE_MODE_DECRYPT) in syscall_authenc_dec_final()
3587 } else if (cs->mode == TEE_MODE_DECRYPT) { in syscall_asymm_operate()
3605 } else if (cs->mode == TEE_MODE_DECRYPT) { in syscall_asymm_operate()
3633 } 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/core/drivers/crypto/se050/core/
A Dcipher.c19 TEE_OperationMode mode = TEE_MODE_DECRYPT; in do_init()
/optee_os/out/arm/export-ta_arm32/host_include/
A Dtee_api_types.h122 TEE_MODE_DECRYPT = 1, enumerator
/optee_os/out/arm/export-ta_arm64/host_include/
A Dtee_api_types.h122 TEE_MODE_DECRYPT = 1, enumerator
/optee_os/out/arm/export-ta_arm64/include/
A Dtee_api_types.h122 TEE_MODE_DECRYPT = 1, enumerator
/optee_os/lib/libutee/include/
A Dtee_api_types.h122 TEE_MODE_DECRYPT = 1, enumerator
/optee_os/out/arm/export-ta_arm32/include/
A Dtee_api_types.h122 TEE_MODE_DECRYPT = 1, enumerator
/optee_os/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.c182 if (mode != TEE_MODE_DECRYPT && mode != TEE_MODE_ENCRYPT) in crypto_cipher_init()
/optee_os/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/core/pta/tests/
A Daes_perf.c200 mode = TEE_MODE_DECRYPT; in core_aes_perf_tests()
/optee_os/core/lib/libtomcrypt/
A Dccm.c195 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/lib/libutee/
A Dtee_api_operations.c140 else if (mode == TEE_MODE_DECRYPT) in TEE_AllocateOperation()
188 } else if (mode == TEE_MODE_DECRYPT) { in TEE_AllocateOperation()
199 } else if (mode == TEE_MODE_DECRYPT) { in TEE_AllocateOperation()
1685 if (operation->info.mode != TEE_MODE_DECRYPT) in TEE_AsymmetricDecrypt()
/optee_os/ta/pkcs11/src/
A Dpkcs11_helpers.c691 *tee_id = TEE_MODE_DECRYPT; in pkcs2tee_mode()

Completed in 36 milliseconds