Home
last modified time | relevance | path

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

/optee_os-3.20.0/core/drivers/crypto/crypto_api/oid/
A Dhash_oid.c34 uint32_t main_alg = TEE_ALG_GET_MAIN_ALG(algo); in drvcrypt_get_alg_hash_oid()
/optee_os-3.20.0/core/drivers/crypto/crypto_api/mac/
A Dmac.c17 unsigned int algo_id = TEE_ALG_GET_MAIN_ALG(algo); in drvcrypt_mac_alloc_ctx()
/optee_os-3.20.0/lib/libutee/include/
A Dutee_defines.h93 #define TEE_ALG_GET_MAIN_ALG(algo) __tee_alg_get_main_alg(algo) macro
122 uint32_t key_type = 0xA0000000 | TEE_ALG_GET_MAIN_ALG(algo); in __tee_alg_get_key_type()
/optee_os-3.20.0/core/crypto/
A Dsigned_hdr.c71 if (TEE_ALG_GET_MAIN_ALG(shdr->algo) != TEE_MAIN_ALGO_RSA) in shdr_verify_signature()
314 key->main_algo = TEE_ALG_GET_MAIN_ALG(subkey->algo); in shdr_load_pub_key()
357 if (TEE_ALG_GET_MAIN_ALG(shdr->algo) != key->main_algo) in shdr_verify_signature2()
A Dcrypto.c212 switch (TEE_ALG_GET_MAIN_ALG(algo)) { in crypto_cipher_get_block_size()
/optee_os-3.20.0/core/drivers/crypto/crypto_api/acipher/
A Decc.c74 unsigned int algo_id = TEE_ALG_GET_MAIN_ALG(algo); in algo_is_valid()
/optee_os-3.20.0/core/tee/
A Dtee_svc_cryp.c2488 switch (TEE_ALG_GET_MAIN_ALG(algo)) { in tee_svc_cryp_check_key_type()
3450 } else if (TEE_ALG_GET_MAIN_ALG(cs->algo) == TEE_MAIN_ALGO_ECDH) { in syscall_cryp_derive_key()
3513 else if (TEE_ALG_GET_MAIN_ALG(cs->algo) == TEE_MAIN_ALGO_HKDF) { in syscall_cryp_derive_key()
3542 else if (TEE_ALG_GET_MAIN_ALG(cs->algo) == TEE_MAIN_ALGO_CONCAT_KDF) { in syscall_cryp_derive_key()
3571 else if (TEE_ALG_GET_MAIN_ALG(cs->algo) == TEE_MAIN_ALGO_PBKDF2) { in syscall_cryp_derive_key()
4265 switch (TEE_ALG_GET_MAIN_ALG(cs->algo)) { in syscall_asymm_verify()
/optee_os-3.20.0/core/drivers/crypto/caam/hash/
A Dcaam_hash.c356 uint8_t hash_id = TEE_ALG_GET_MAIN_ALG(algo); in caam_hash_get_alg()
/optee_os-3.20.0/core/drivers/crypto/caam/cipher/
A Dcaam_cipher.c246 unsigned int algo_id = TEE_ALG_GET_MAIN_ALG(algo); in get_cipheralgo()
/optee_os-3.20.0/lib/libutee/
A Dtee_api_operations.c135 if (TEE_ALG_GET_MAIN_ALG(algorithm) == TEE_MAIN_ALGO_AES) in TEE_AllocateOperation()
137 else if (TEE_ALG_GET_MAIN_ALG(algorithm) == TEE_MAIN_ALGO_SM4) in TEE_AllocateOperation()

Completed in 21 milliseconds