Home
last modified time | relevance | path

Searched refs:TEE_ALG_GET_MAIN_ALG (Results 1 – 15 of 15) sorted by relevance

/optee_os/core/drivers/crypto/crypto_api/oid/
H A Dhash_oid.c34 uint32_t main_alg = TEE_ALG_GET_MAIN_ALG(algo); in drvcrypt_get_alg_hash_oid()
/optee_os/core/drivers/crypto/crypto_api/mac/
H A Dmac.c17 unsigned int algo_id = TEE_ALG_GET_MAIN_ALG(algo); in drvcrypt_mac_alloc_ctx()
/optee_os/core/crypto/
H A Dsigned_hdr.c63 if (TEE_ALG_GET_MAIN_ALG(algo) == TEE_MAIN_ALGO_RSA && in is_weak_key_size()
83 if (TEE_ALG_GET_MAIN_ALG(shdr->algo) != TEE_MAIN_ALGO_RSA) in shdr_verify_signature()
329 key->main_algo = TEE_ALG_GET_MAIN_ALG(subkey->algo); in shdr_load_pub_key()
372 if (TEE_ALG_GET_MAIN_ALG(shdr->algo) != key->main_algo) in shdr_verify_signature2()
H A Dcrypto.c229 switch (TEE_ALG_GET_MAIN_ALG(algo)) { in crypto_cipher_get_block_size()
/optee_os/lib/libutee/include/
H A Dutee_defines.h118 #define TEE_ALG_GET_MAIN_ALG(algo) __tee_alg_get_main_alg(algo) macro
147 uint32_t key_type = 0xA0000000 | TEE_ALG_GET_MAIN_ALG(algo); in __tee_alg_get_key_type()
/optee_os/core/drivers/crypto/stm32/
H A Dhash.c138 switch (TEE_ALG_GET_MAIN_ALG(algo)) { in stm32_hash_allocate()
H A Dhmac.c178 switch (TEE_ALG_GET_MAIN_ALG(algo)) { in stm32_hmac_allocate()
/optee_os/core/drivers/crypto/crypto_api/acipher/
H A Decc.c75 unsigned int algo_id = TEE_ALG_GET_MAIN_ALG(algo); in algo_is_valid()
/optee_os/core/drivers/crypto/caam/hash/
H A Dcaam_hash.c356 uint8_t hash_id = TEE_ALG_GET_MAIN_ALG(algo); in caam_hash_get_alg()
/optee_os/core/drivers/crypto/hisilicon/
H A Dsec_cipher.c526 ret = crypto_set_alg(c_ctx, TEE_ALG_GET_MAIN_ALG(algo)); in sec_cipher_ctx_allocate()
H A Dsec_authenc.c204 ae_drv_ctx->algo = crypto_set_alg(TEE_ALG_GET_MAIN_ALG(algo)); in sec_authenc_ctx_allocate()
/optee_os/core/drivers/crypto/caam/cipher/
H A Dcaam_cipher.c219 unsigned int algo_id = TEE_ALG_GET_MAIN_ALG(algo); in get_cipheralgo()
/optee_os/core/drivers/crypto/caam/ae/
H A Dcaam_ae.c59 unsigned int algo_id = TEE_ALG_GET_MAIN_ALG(algo); in get_cipheralgo()
/optee_os/core/tee/
H A Dtee_svc_cryp.c2634 switch (TEE_ALG_GET_MAIN_ALG(algo)) { in tee_svc_cryp_check_key_type()
3851 else if (TEE_ALG_GET_MAIN_ALG(cs->algo) == TEE_MAIN_ALGO_HKDF) { in syscall_cryp_derive_key()
3881 else if (TEE_ALG_GET_MAIN_ALG(cs->algo) == TEE_MAIN_ALGO_CONCAT_KDF) { in syscall_cryp_derive_key()
3910 else if (TEE_ALG_GET_MAIN_ALG(cs->algo) == TEE_MAIN_ALGO_PBKDF2) { in syscall_cryp_derive_key()
4703 switch (TEE_ALG_GET_MAIN_ALG(cs->algo)) { in syscall_asymm_verify()
/optee_os/lib/libutee/
H A Dtee_api_operations.c152 if (TEE_ALG_GET_MAIN_ALG(algorithm) == TEE_MAIN_ALGO_AES) in TEE_AllocateOperation()
154 else if (TEE_ALG_GET_MAIN_ALG(algorithm) == TEE_MAIN_ALGO_SM4) in TEE_AllocateOperation()