Lines Matching refs:algo

16 TEE_Result crypto_hash_alloc_ctx(void **ctx, uint32_t algo)  in crypto_hash_alloc_ctx()  argument
25 res = drvcrypt_hash_alloc_ctx(&c, algo); in crypto_hash_alloc_ctx()
28 switch (algo) { in crypto_hash_alloc_ctx()
114 TEE_Result crypto_cipher_alloc_ctx(void **ctx, uint32_t algo) in crypto_cipher_alloc_ctx() argument
123 res = drvcrypt_cipher_alloc_ctx(&c, algo); in crypto_cipher_alloc_ctx()
126 switch (algo) { in crypto_cipher_alloc_ctx()
221 TEE_Result crypto_cipher_get_block_size(uint32_t algo, size_t *size) in crypto_cipher_get_block_size() argument
223 uint32_t class = TEE_ALG_GET_CLASS(algo); in crypto_cipher_get_block_size()
229 switch (TEE_ALG_GET_MAIN_ALG(algo)) { in crypto_cipher_get_block_size()
245 TEE_Result crypto_mac_alloc_ctx(void **ctx, uint32_t algo) in crypto_mac_alloc_ctx() argument
254 res = drvcrypt_mac_alloc_ctx(&c, algo); in crypto_mac_alloc_ctx()
257 switch (algo) { in crypto_mac_alloc_ctx()
364 TEE_Result crypto_authenc_alloc_ctx(void **ctx, uint32_t algo) in crypto_authenc_alloc_ctx() argument
373 res = drvcrypt_authenc_alloc_ctx(&c, algo); in crypto_authenc_alloc_ctx()
376 switch (algo) { in crypto_authenc_alloc_ctx()
596 TEE_Result crypto_acipher_rsaes_decrypt(uint32_t algo __unused, in crypto_acipher_rsaes_decrypt()
609 TEE_Result crypto_acipher_rsaes_encrypt(uint32_t algo __unused, in crypto_acipher_rsaes_encrypt()
622 TEE_Result crypto_acipher_rsassa_sign(uint32_t algo __unused, in crypto_acipher_rsassa_sign()
633 TEE_Result crypto_acipher_rsassa_verify(uint32_t algo __unused, in crypto_acipher_rsassa_verify()
665 TEE_Result crypto_acipher_dsa_sign(uint32_t algo __unused, in crypto_acipher_dsa_sign()
675 TEE_Result crypto_acipher_dsa_verify(uint32_t algo __unused, in crypto_acipher_dsa_verify()
761 TEE_Result crypto_acipher_ecc_sign(uint32_t algo, struct ecc_keypair *key, in crypto_acipher_ecc_sign() argument
770 return key->ops->sign(algo, key, msg, msg_len, sig, sig_len); in crypto_acipher_ecc_sign()
773 TEE_Result crypto_acipher_ecc_verify(uint32_t algo, struct ecc_public_key *key, in crypto_acipher_ecc_verify() argument
782 return key->ops->verify(algo, key, msg, msg_len, sig, sig_len); in crypto_acipher_ecc_verify()