Searched refs:TEE_ALG_GET_MAIN_ALG (Results 1 – 15 of 15) sorted by relevance
34 uint32_t main_alg = TEE_ALG_GET_MAIN_ALG(algo); in drvcrypt_get_alg_hash_oid()
17 unsigned int algo_id = TEE_ALG_GET_MAIN_ALG(algo); in drvcrypt_mac_alloc_ctx()
63 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()
229 switch (TEE_ALG_GET_MAIN_ALG(algo)) { in crypto_cipher_get_block_size()
118 #define TEE_ALG_GET_MAIN_ALG(algo) __tee_alg_get_main_alg(algo) macro147 uint32_t key_type = 0xA0000000 | TEE_ALG_GET_MAIN_ALG(algo); in __tee_alg_get_key_type()
138 switch (TEE_ALG_GET_MAIN_ALG(algo)) { in stm32_hash_allocate()
178 switch (TEE_ALG_GET_MAIN_ALG(algo)) { in stm32_hmac_allocate()
75 unsigned int algo_id = TEE_ALG_GET_MAIN_ALG(algo); in algo_is_valid()
356 uint8_t hash_id = TEE_ALG_GET_MAIN_ALG(algo); in caam_hash_get_alg()
526 ret = crypto_set_alg(c_ctx, TEE_ALG_GET_MAIN_ALG(algo)); in sec_cipher_ctx_allocate()
204 ae_drv_ctx->algo = crypto_set_alg(TEE_ALG_GET_MAIN_ALG(algo)); in sec_authenc_ctx_allocate()
219 unsigned int algo_id = TEE_ALG_GET_MAIN_ALG(algo); in get_cipheralgo()
59 unsigned int algo_id = TEE_ALG_GET_MAIN_ALG(algo); in get_cipheralgo()
2634 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()
152 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()