Lines Matching refs:alg

1849 TEE_Result TEE_IsAlgorithmSupported(uint32_t alg, uint32_t element)  in TEE_IsAlgorithmSupported()  argument
1853 if (alg == TEE_ALG_AES_ECB_NOPAD) in TEE_IsAlgorithmSupported()
1857 if (alg == TEE_ALG_AES_CBC_NOPAD) in TEE_IsAlgorithmSupported()
1861 if (alg == TEE_ALG_AES_CTR) in TEE_IsAlgorithmSupported()
1865 if (alg == TEE_ALG_AES_CTS) in TEE_IsAlgorithmSupported()
1869 if (alg == TEE_ALG_AES_XTS) in TEE_IsAlgorithmSupported()
1873 if (alg == TEE_ALG_AES_CBC_MAC_NOPAD || in TEE_IsAlgorithmSupported()
1874 alg == TEE_ALG_AES_CBC_MAC_PKCS5) in TEE_IsAlgorithmSupported()
1878 if (alg == TEE_ALG_AES_CMAC) in TEE_IsAlgorithmSupported()
1882 if (alg == TEE_ALG_AES_CCM) in TEE_IsAlgorithmSupported()
1886 if (alg == TEE_ALG_AES_GCM) in TEE_IsAlgorithmSupported()
1892 if (alg == TEE_ALG_DES_ECB_NOPAD || in TEE_IsAlgorithmSupported()
1893 alg == TEE_ALG_DES3_ECB_NOPAD) in TEE_IsAlgorithmSupported()
1897 if (alg == TEE_ALG_DES_CBC_NOPAD || in TEE_IsAlgorithmSupported()
1898 alg == TEE_ALG_DES3_CBC_NOPAD) in TEE_IsAlgorithmSupported()
1902 if (alg == TEE_ALG_DES_CBC_MAC_NOPAD || in TEE_IsAlgorithmSupported()
1903 alg == TEE_ALG_DES_CBC_MAC_PKCS5 || in TEE_IsAlgorithmSupported()
1904 alg == TEE_ALG_DES3_CBC_MAC_NOPAD || in TEE_IsAlgorithmSupported()
1905 alg == TEE_ALG_DES3_CBC_MAC_PKCS5) in TEE_IsAlgorithmSupported()
1910 if (alg == TEE_ALG_MD5) in TEE_IsAlgorithmSupported()
1914 if (alg == TEE_ALG_SHA1) in TEE_IsAlgorithmSupported()
1918 if (alg == TEE_ALG_SHA224) in TEE_IsAlgorithmSupported()
1922 if (alg == TEE_ALG_SHA256) in TEE_IsAlgorithmSupported()
1926 if (alg == TEE_ALG_SHA384) in TEE_IsAlgorithmSupported()
1930 if (alg == TEE_ALG_SHA512) in TEE_IsAlgorithmSupported()
1934 if (alg == TEE_ALG_MD5SHA1) in TEE_IsAlgorithmSupported()
1939 if (alg == TEE_ALG_HMAC_MD5) in TEE_IsAlgorithmSupported()
1943 if (alg == TEE_ALG_HMAC_SHA1) in TEE_IsAlgorithmSupported()
1947 if (alg == TEE_ALG_HMAC_SHA224) in TEE_IsAlgorithmSupported()
1951 if (alg == TEE_ALG_HMAC_SHA256) in TEE_IsAlgorithmSupported()
1955 if (alg == TEE_ALG_HMAC_SHA384) in TEE_IsAlgorithmSupported()
1959 if (alg == TEE_ALG_HMAC_SHA512) in TEE_IsAlgorithmSupported()
1963 if (alg == TEE_ALG_HMAC_SM3) in TEE_IsAlgorithmSupported()
1968 if (alg == TEE_ALG_SM3) in TEE_IsAlgorithmSupported()
1973 if (alg == TEE_ALG_SM4_ECB_NOPAD) in TEE_IsAlgorithmSupported()
1977 if (alg == TEE_ALG_SM4_CBC_NOPAD) in TEE_IsAlgorithmSupported()
1981 if (alg == TEE_ALG_SM4_CTR) in TEE_IsAlgorithmSupported()
1985 if (alg == TEE_ALG_SM4_XTS) in TEE_IsAlgorithmSupported()
1991 if (alg == TEE_ALG_RSASSA_PKCS1_V1_5_MD5) in TEE_IsAlgorithmSupported()
1995 if (alg == TEE_ALG_RSASSA_PKCS1_V1_5_SHA1 || in TEE_IsAlgorithmSupported()
1996 alg == TEE_ALG_RSASSA_PKCS1_PSS_MGF1_SHA1 || in TEE_IsAlgorithmSupported()
1997 alg == TEE_ALG_RSAES_PKCS1_OAEP_MGF1_SHA1) in TEE_IsAlgorithmSupported()
2001 if (alg == TEE_ALG_RSASSA_PKCS1_V1_5_MD5SHA1) in TEE_IsAlgorithmSupported()
2005 if (alg == TEE_ALG_RSASSA_PKCS1_V1_5_SHA224 || in TEE_IsAlgorithmSupported()
2006 alg == TEE_ALG_RSASSA_PKCS1_PSS_MGF1_SHA224 || in TEE_IsAlgorithmSupported()
2007 alg == TEE_ALG_RSAES_PKCS1_OAEP_MGF1_SHA224) in TEE_IsAlgorithmSupported()
2011 if (alg == TEE_ALG_RSASSA_PKCS1_V1_5_SHA256 || in TEE_IsAlgorithmSupported()
2012 alg == TEE_ALG_RSASSA_PKCS1_PSS_MGF1_SHA256 || in TEE_IsAlgorithmSupported()
2013 alg == TEE_ALG_RSAES_PKCS1_OAEP_MGF1_SHA256) in TEE_IsAlgorithmSupported()
2017 if (alg == TEE_ALG_RSASSA_PKCS1_V1_5_SHA384 || in TEE_IsAlgorithmSupported()
2018 alg == TEE_ALG_RSASSA_PKCS1_PSS_MGF1_SHA384 || in TEE_IsAlgorithmSupported()
2019 alg == TEE_ALG_RSAES_PKCS1_OAEP_MGF1_SHA384) in TEE_IsAlgorithmSupported()
2023 if (alg == TEE_ALG_RSASSA_PKCS1_V1_5_SHA512 || in TEE_IsAlgorithmSupported()
2024 alg == TEE_ALG_RSASSA_PKCS1_PSS_MGF1_SHA512 || in TEE_IsAlgorithmSupported()
2025 alg == TEE_ALG_RSAES_PKCS1_OAEP_MGF1_SHA512) in TEE_IsAlgorithmSupported()
2029 if (alg == TEE_ALG_RSASSA_PKCS1_V1_5) in TEE_IsAlgorithmSupported()
2032 if (alg == TEE_ALG_RSA_NOPAD) in TEE_IsAlgorithmSupported()
2037 if (alg == TEE_ALG_DSA_SHA1) in TEE_IsAlgorithmSupported()
2041 if (alg == TEE_ALG_DSA_SHA224) in TEE_IsAlgorithmSupported()
2045 if (alg == TEE_ALG_DSA_SHA256) in TEE_IsAlgorithmSupported()
2050 if (alg == TEE_ALG_DH_DERIVE_SHARED_SECRET) in TEE_IsAlgorithmSupported()
2054 if ((alg == TEE_ALG_ECDH_P192 || alg == TEE_ALG_ECDSA_P192) && in TEE_IsAlgorithmSupported()
2057 if ((alg == TEE_ALG_ECDH_P224 || alg == TEE_ALG_ECDSA_P224) && in TEE_IsAlgorithmSupported()
2060 if ((alg == TEE_ALG_ECDH_P256 || alg == TEE_ALG_ECDSA_P256) && in TEE_IsAlgorithmSupported()
2063 if ((alg == TEE_ALG_ECDH_P384 || alg == TEE_ALG_ECDSA_P384) && in TEE_IsAlgorithmSupported()
2066 if ((alg == TEE_ALG_ECDH_P521 || alg == TEE_ALG_ECDSA_P521) && in TEE_IsAlgorithmSupported()
2071 if (alg == TEE_ALG_SM2_DSA_SM3 && element == TEE_ECC_CURVE_SM2) in TEE_IsAlgorithmSupported()
2075 if (alg == TEE_ALG_SM2_KEP && element == TEE_ECC_CURVE_SM2) in TEE_IsAlgorithmSupported()
2079 if (alg == TEE_ALG_SM2_PKE && element == TEE_ECC_CURVE_SM2) in TEE_IsAlgorithmSupported()
2083 if (alg == TEE_ALG_X25519 && element == TEE_ECC_CURVE_25519) in TEE_IsAlgorithmSupported()
2087 if (alg == TEE_ALG_ED25519 && element == TEE_ECC_CURVE_25519) in TEE_IsAlgorithmSupported()