Home
last modified time | relevance | path

Searched defs:algo (Results 1 – 25 of 42) sorted by relevance

12

/optee_os-3.20.0/lib/libutee/include/
A Dutee_defines.h57 static inline uint32_t __tee_alg_get_class(uint32_t algo) in __tee_alg_get_class()
73 #define TEE_ALG_GET_CLASS(algo) __tee_alg_get_class(algo) argument
75 static inline uint32_t __tee_alg_get_main_alg(uint32_t algo) in __tee_alg_get_main_alg()
93 #define TEE_ALG_GET_MAIN_ALG(algo) __tee_alg_get_main_alg(algo) argument
96 #define TEE_ALG_GET_CHAIN_MODE(algo) (((algo) >> 8) & 0xF) argument
106 static inline uint32_t __tee_alg_get_digest_hash(uint32_t algo) in __tee_alg_get_digest_hash()
118 #define TEE_ALG_GET_INTERNAL_HASH(algo) (((algo) >> 20) & 0x7) argument
130 #define TEE_ALG_GET_KEY_TYPE(algo, with_private_key) \ argument
145 #define TEE_INTERNAL_HASH_TO_ALGO(algo) \ argument
149 #define TEE_DIGEST_HASH_TO_ALGO(algo) \ argument
[all …]
/optee_os-3.20.0/core/tee/
A Dtee_cryp_utl.c20 TEE_Result tee_alg_get_digest_size(uint32_t algo, size_t *size) in tee_alg_get_digest_size()
32 TEE_Result tee_hash_createdigest(uint32_t algo, const uint8_t *data, in tee_hash_createdigest()
60 TEE_Result tee_cipher_get_block_size(uint32_t algo, size_t *size) in tee_cipher_get_block_size()
99 TEE_Result tee_do_cipher_update(void *ctx, uint32_t algo, in tee_do_cipher_update()
/optee_os-3.20.0/core/pta/tests/
A Daes_perf.c43 static void free_ctx(void **ctx, uint32_t algo) in free_ctx()
53 static TEE_Result init_ctx(void **ctx, uint32_t algo, TEE_OperationMode mode, in init_ctx()
130 static TEE_Result do_update(void *ctx, uint32_t algo, TEE_OperationMode mode, in do_update()
173 uint32_t algo = 0; in core_aes_perf_tests() local
/optee_os-3.20.0/core/drivers/crypto/stm32/
A Dcipher.c25 enum stm32_cryp_algo_mode algo; member
91 static TEE_Result alloc_ctx(void **ctx, enum stm32_cryp_algo_mode algo) in alloc_ctx()
110 static TEE_Result stm32_cipher_allocate(void **ctx, uint32_t algo) in stm32_cipher_allocate()
A Dauthenc.c32 enum stm32_cryp_algo_mode algo; member
326 static TEE_Result alloc_ctx(void **ctx, enum stm32_cryp_algo_mode algo) in alloc_ctx()
345 static TEE_Result stm32_ae_allocate(void **ctx, uint32_t algo) in stm32_ae_allocate()
/optee_os-3.20.0/core/drivers/crypto/se050/core/
A Decc.c36 static bool oefid_algo_supported(uint32_t algo) in oefid_algo_supported()
57 static uint32_t algo_tee2se050(uint32_t algo) in algo_tee2se050()
136 static TEE_Result ecc_get_key_size(uint32_t curve, uint32_t algo, in ecc_get_key_size()
192 static TEE_Result ecc_prepare_msg(uint32_t algo, const uint8_t *msg, in ecc_prepare_msg()
196 uint32_t algo; in ecc_prepare_msg() member
420 static TEE_Result verify_fallback(uint32_t algo, struct ecc_public_key *key, in verify_fallback()
431 static TEE_Result sign_fallback(uint32_t algo, struct ecc_keypair *key, in sign_fallback()
510 static TEE_Result sign(uint32_t algo, struct ecc_keypair *key, in sign()
587 static TEE_Result verify(uint32_t algo, struct ecc_public_key *key, in verify()
A Drsa.c64 static uint32_t tee2se050(uint32_t algo) in tee2se050()
233 static TEE_Result decrypt_es(uint32_t algo, struct rsa_keypair *key, in decrypt_es()
288 static TEE_Result encrypt_es(uint32_t algo, struct rsa_public_key *key, in encrypt_es()
447 static TEE_Result sign_ssa(uint32_t algo, struct rsa_keypair *key, in sign_ssa()
486 static TEE_Result verify_ssa(uint32_t algo, struct rsa_public_key *key, in verify_ssa()
A Dcipher.c60 static TEE_Result do_allocate(void **ctx, uint32_t algo) in do_allocate()
/optee_os-3.20.0/core/drivers/crypto/crypto_api/oid/
A Dhash_oid.c32 const struct drvcrypt_oid *drvcrypt_get_alg_hash_oid(uint32_t algo) in drvcrypt_get_alg_hash_oid()
/optee_os-3.20.0/core/drivers/crypto/crypto_api/hash/
A Dhash.c13 TEE_Result drvcrypt_hash_alloc_ctx(struct crypto_hash_ctx **ctx, uint32_t algo) in drvcrypt_hash_alloc_ctx()
/optee_os-3.20.0/core/drivers/crypto/caam/include/
A Dcaam_desc_helper.h286 #define HASH_INIT(algo) \ argument
292 #define HASH_UPDATE(algo) \ argument
299 #define HASH_FINAL(algo) \ argument
305 #define HASH_INITFINAL(algo) \ argument
312 #define HMAC_INIT_DECRYPT(algo) \ argument
319 #define HMAC_INITFINAL_PRECOMP(algo) \ argument
326 #define HMAC_INIT_PRECOMP(algo) \ argument
333 #define HMAC_FINAL_PRECOMP(algo) \ argument
340 #define CIPHER_INITFINAL(algo, encrypt) \ argument
347 #define CIPHER_INIT(algo, encrypt) \ argument
[all …]
/optee_os-3.20.0/core/lib/libtomcrypt/
A Decc.c31 static TEE_Result ecc_get_curve_info(uint32_t curve, uint32_t algo, in ecc_get_curve_info()
195 uint32_t algo, size_t *key_size_bytes) in ecc_populate_ltc_private_key()
225 uint32_t algo, size_t *key_size_bytes) in ecc_populate_ltc_public_key()
250 static TEE_Result _ltc_ecc_sign(uint32_t algo, struct ecc_keypair *key, in _ltc_ecc_sign()
289 static TEE_Result _ltc_ecc_verify(uint32_t algo, struct ecc_public_key *key, in _ltc_ecc_verify()
A Drsa.c29 static TEE_Result tee_algo_to_ltc_hashindex(uint32_t algo, int *ltc_hashindex) in tee_algo_to_ltc_hashindex()
325 TEE_Result sw_crypto_acipher_rsaes_decrypt(uint32_t algo, in sw_crypto_acipher_rsaes_decrypt()
430 TEE_Result sw_crypto_acipher_rsaes_encrypt(uint32_t algo, in sw_crypto_acipher_rsaes_encrypt()
494 TEE_Result sw_crypto_acipher_rsassa_sign(uint32_t algo, struct rsa_keypair *key, in sw_crypto_acipher_rsassa_sign()
592 TEE_Result sw_crypto_acipher_rsassa_verify(uint32_t algo, in sw_crypto_acipher_rsassa_verify()
A Dsm2-dsa.c21 TEE_Result sm2_ltc_dsa_sign(uint32_t algo, struct ecc_keypair *key, in sm2_ltc_dsa_sign()
139 TEE_Result sm2_ltc_dsa_verify(uint32_t algo, struct ecc_public_key *key, in sm2_ltc_dsa_verify()
A Ddsa.c95 TEE_Result crypto_acipher_dsa_sign(uint32_t algo, struct dsa_keypair *key, in crypto_acipher_dsa_sign()
164 TEE_Result crypto_acipher_dsa_verify(uint32_t algo, struct dsa_public_key *key, in crypto_acipher_dsa_verify()
/optee_os-3.20.0/core/drivers/crypto/crypto_api/mac/
A Dmac.c13 TEE_Result drvcrypt_mac_alloc_ctx(struct crypto_mac_ctx **ctx, uint32_t algo) in drvcrypt_mac_alloc_ctx()
/optee_os-3.20.0/core/drivers/crypto/crypto_api/acipher/
A Drsa.c200 TEE_Result crypto_acipher_rsaes_decrypt(uint32_t algo, struct rsa_keypair *key, in crypto_acipher_rsaes_decrypt()
261 TEE_Result crypto_acipher_rsaes_encrypt(uint32_t algo, in crypto_acipher_rsaes_encrypt()
347 TEE_Result crypto_acipher_rsassa_sign(uint32_t algo, struct rsa_keypair *key, in crypto_acipher_rsassa_sign()
428 TEE_Result crypto_acipher_rsassa_verify(uint32_t algo, in crypto_acipher_rsassa_verify()
A Decc.c71 static bool algo_is_valid(uint32_t curve, uint32_t algo) in algo_is_valid()
154 static TEE_Result ecc_sign(uint32_t algo, struct ecc_keypair *key, in ecc_sign()
226 static TEE_Result ecc_verify(uint32_t algo, struct ecc_public_key *key, in ecc_verify()
A Ddsa.c121 TEE_Result crypto_acipher_dsa_sign(uint32_t algo, struct dsa_keypair *key, in crypto_acipher_dsa_sign()
181 TEE_Result crypto_acipher_dsa_verify(uint32_t algo, struct dsa_public_key *key, in crypto_acipher_dsa_verify()
/optee_os-3.20.0/lib/libmbedtls/core/
A Drsa.c40 static uint32_t tee_algo_to_mbedtls_hash_algo(uint32_t algo) in tee_algo_to_mbedtls_hash_algo()
400 TEE_Result sw_crypto_acipher_rsaes_decrypt(uint32_t algo, in sw_crypto_acipher_rsaes_decrypt()
497 TEE_Result sw_crypto_acipher_rsaes_encrypt(uint32_t algo, in sw_crypto_acipher_rsaes_encrypt()
574 TEE_Result sw_crypto_acipher_rsassa_sign(uint32_t algo, struct rsa_keypair *key, in sw_crypto_acipher_rsassa_sign()
669 TEE_Result sw_crypto_acipher_rsassa_verify(uint32_t algo, in sw_crypto_acipher_rsassa_verify()
A Decc.c51 static TEE_Result ecc_get_keysize(uint32_t curve, uint32_t algo, in ecc_get_keysize()
204 static TEE_Result ecc_sign(uint32_t algo, struct ecc_keypair *key, in ecc_sign()
283 static TEE_Result ecc_verify(uint32_t algo, struct ecc_public_key *key, in ecc_verify()
/optee_os-3.20.0/core/drivers/crypto/versal/
A Decc.c125 static TEE_Result ecc_prepare_msg(uint32_t algo, const uint8_t *msg, in ecc_prepare_msg()
165 static TEE_Result verify(uint32_t algo, struct ecc_public_key *key, in verify()
239 static TEE_Result sign(uint32_t algo, struct ecc_keypair *key, in sign()
/optee_os-3.20.0/core/drivers/crypto/caam/cipher/
A Dcaam_cipher.c244 static const struct cipheralg *get_cipheralgo(uint32_t algo) in get_cipheralgo()
284 static TEE_Result do_allocate(void **ctx, uint32_t algo) in do_allocate()
/optee_os-3.20.0/core/drivers/crypto/crypto_api/include/
A Ddrvcrypt_acipher.h47 uint32_t algo; /* Operation algorithm */ member
63 uint32_t algo; /* Operation algorithm */ member
119 uint32_t algo; /* Operation algorithm */ member
/optee_os-3.20.0/core/crypto/
A Dcrypto.c17 TEE_Result crypto_hash_alloc_ctx(void **ctx, uint32_t algo) in crypto_hash_alloc_ctx()
97 TEE_Result crypto_cipher_alloc_ctx(void **ctx, uint32_t algo) in crypto_cipher_alloc_ctx()
204 TEE_Result crypto_cipher_get_block_size(uint32_t algo, size_t *size) in crypto_cipher_get_block_size()
228 TEE_Result crypto_mac_alloc_ctx(void **ctx, uint32_t algo) in crypto_mac_alloc_ctx()
335 TEE_Result crypto_authenc_alloc_ctx(void **ctx, uint32_t algo) in crypto_authenc_alloc_ctx()
730 TEE_Result crypto_acipher_ecc_sign(uint32_t algo, struct ecc_keypair *key, in crypto_acipher_ecc_sign()
742 TEE_Result crypto_acipher_ecc_verify(uint32_t algo, struct ecc_public_key *key, in crypto_acipher_ecc_verify()

Completed in 29 milliseconds

12