Home
last modified time | relevance | path

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

12

/optee_os/out/arm/export-ta_arm64/host_include/
A Dutee_defines.h55 static inline uint32_t __tee_alg_get_class(uint32_t algo) in __tee_alg_get_class()
69 #define TEE_ALG_GET_CLASS(algo) __tee_alg_get_class(algo) argument
71 static inline uint32_t __tee_alg_get_main_alg(uint32_t algo) in __tee_alg_get_main_alg()
85 #define TEE_ALG_GET_MAIN_ALG(algo) __tee_alg_get_main_alg(algo) argument
88 #define TEE_ALG_GET_CHAIN_MODE(algo) (((algo) >> 8) & 0xF) argument
98 static inline uint32_t __tee_alg_get_digest_hash(uint32_t algo) in __tee_alg_get_digest_hash()
110 #define TEE_ALG_GET_INTERNAL_HASH(algo) (((algo) >> 20) & 0x7) argument
122 #define TEE_ALG_GET_KEY_TYPE(algo, with_private_key) \ argument
137 #define TEE_INTERNAL_HASH_TO_ALGO(algo) \ argument
141 #define TEE_DIGEST_HASH_TO_ALGO(algo) \ argument
[all …]
/optee_os/out/arm/export-ta_arm64/include/
A Dutee_defines.h55 static inline uint32_t __tee_alg_get_class(uint32_t algo) in __tee_alg_get_class()
69 #define TEE_ALG_GET_CLASS(algo) __tee_alg_get_class(algo) argument
71 static inline uint32_t __tee_alg_get_main_alg(uint32_t algo) in __tee_alg_get_main_alg()
85 #define TEE_ALG_GET_MAIN_ALG(algo) __tee_alg_get_main_alg(algo) argument
88 #define TEE_ALG_GET_CHAIN_MODE(algo) (((algo) >> 8) & 0xF) argument
98 static inline uint32_t __tee_alg_get_digest_hash(uint32_t algo) in __tee_alg_get_digest_hash()
110 #define TEE_ALG_GET_INTERNAL_HASH(algo) (((algo) >> 20) & 0x7) argument
122 #define TEE_ALG_GET_KEY_TYPE(algo, with_private_key) \ argument
137 #define TEE_INTERNAL_HASH_TO_ALGO(algo) \ argument
141 #define TEE_DIGEST_HASH_TO_ALGO(algo) \ argument
[all …]
/optee_os/lib/libutee/include/
A Dutee_defines.h55 static inline uint32_t __tee_alg_get_class(uint32_t algo) in __tee_alg_get_class()
69 #define TEE_ALG_GET_CLASS(algo) __tee_alg_get_class(algo) argument
71 static inline uint32_t __tee_alg_get_main_alg(uint32_t algo) in __tee_alg_get_main_alg()
85 #define TEE_ALG_GET_MAIN_ALG(algo) __tee_alg_get_main_alg(algo) argument
88 #define TEE_ALG_GET_CHAIN_MODE(algo) (((algo) >> 8) & 0xF) argument
98 static inline uint32_t __tee_alg_get_digest_hash(uint32_t algo) in __tee_alg_get_digest_hash()
110 #define TEE_ALG_GET_INTERNAL_HASH(algo) (((algo) >> 20) & 0x7) argument
122 #define TEE_ALG_GET_KEY_TYPE(algo, with_private_key) \ argument
137 #define TEE_INTERNAL_HASH_TO_ALGO(algo) \ argument
141 #define TEE_DIGEST_HASH_TO_ALGO(algo) \ argument
[all …]
/optee_os/out/arm/export-ta_arm32/host_include/
A Dutee_defines.h55 static inline uint32_t __tee_alg_get_class(uint32_t algo) in __tee_alg_get_class()
69 #define TEE_ALG_GET_CLASS(algo) __tee_alg_get_class(algo) argument
71 static inline uint32_t __tee_alg_get_main_alg(uint32_t algo) in __tee_alg_get_main_alg()
85 #define TEE_ALG_GET_MAIN_ALG(algo) __tee_alg_get_main_alg(algo) argument
88 #define TEE_ALG_GET_CHAIN_MODE(algo) (((algo) >> 8) & 0xF) argument
98 static inline uint32_t __tee_alg_get_digest_hash(uint32_t algo) in __tee_alg_get_digest_hash()
110 #define TEE_ALG_GET_INTERNAL_HASH(algo) (((algo) >> 20) & 0x7) argument
122 #define TEE_ALG_GET_KEY_TYPE(algo, with_private_key) \ argument
137 #define TEE_INTERNAL_HASH_TO_ALGO(algo) \ argument
141 #define TEE_DIGEST_HASH_TO_ALGO(algo) \ argument
[all …]
/optee_os/out/arm/export-ta_arm32/include/
A Dutee_defines.h55 static inline uint32_t __tee_alg_get_class(uint32_t algo) in __tee_alg_get_class()
69 #define TEE_ALG_GET_CLASS(algo) __tee_alg_get_class(algo) argument
71 static inline uint32_t __tee_alg_get_main_alg(uint32_t algo) in __tee_alg_get_main_alg()
85 #define TEE_ALG_GET_MAIN_ALG(algo) __tee_alg_get_main_alg(algo) argument
88 #define TEE_ALG_GET_CHAIN_MODE(algo) (((algo) >> 8) & 0xF) argument
98 static inline uint32_t __tee_alg_get_digest_hash(uint32_t algo) in __tee_alg_get_digest_hash()
110 #define TEE_ALG_GET_INTERNAL_HASH(algo) (((algo) >> 20) & 0x7) argument
122 #define TEE_ALG_GET_KEY_TYPE(algo, with_private_key) \ argument
137 #define TEE_INTERNAL_HASH_TO_ALGO(algo) \ argument
141 #define TEE_DIGEST_HASH_TO_ALGO(algo) \ argument
[all …]
/optee_os/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()
98 TEE_Result tee_do_cipher_update(void *ctx, uint32_t algo, in tee_do_cipher_update()
/optee_os/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/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/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/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/core/lib/libtomcrypt/
A Decc.c31 static TEE_Result ecc_get_curve_info(uint32_t curve, uint32_t algo, in ecc_get_curve_info()
190 uint32_t algo, size_t *key_size_bytes) in ecc_populate_ltc_private_key()
220 uint32_t algo, size_t *key_size_bytes) in ecc_populate_ltc_public_key()
245 static TEE_Result _ltc_ecc_sign(uint32_t algo, struct ecc_keypair *key, in _ltc_ecc_sign()
284 static TEE_Result _ltc_ecc_verify(uint32_t algo, struct ecc_public_key *key, in _ltc_ecc_verify()
A Drsa.c26 static TEE_Result tee_algo_to_ltc_hashindex(uint32_t algo, int *ltc_hashindex) in tee_algo_to_ltc_hashindex()
279 TEE_Result crypto_acipher_rsaes_decrypt(uint32_t algo, struct rsa_keypair *key, in crypto_acipher_rsaes_decrypt()
375 TEE_Result crypto_acipher_rsaes_encrypt(uint32_t algo, in crypto_acipher_rsaes_encrypt()
432 TEE_Result crypto_acipher_rsassa_sign(uint32_t algo, struct rsa_keypair *key, in crypto_acipher_rsassa_sign()
523 TEE_Result crypto_acipher_rsassa_verify(uint32_t algo, in 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/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/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/core/drivers/crypto/se050/core/
A Decc.c21 static uint32_t algo_tee2se050(uint32_t algo) in algo_tee2se050()
100 static TEE_Result ecc_get_key_size(uint32_t curve, uint32_t algo, in ecc_get_key_size()
150 static TEE_Result ecc_prepare_msg(uint32_t algo, const uint8_t *msg, in ecc_prepare_msg()
154 uint32_t algo; in ecc_prepare_msg() member
408 static TEE_Result sign(uint32_t algo, struct ecc_keypair *key, in sign()
481 static TEE_Result verify(uint32_t algo, struct ecc_public_key *key, in verify()
A Drsa.c19 static uint32_t tee2se050(uint32_t algo) in tee2se050()
188 static TEE_Result decrypt_es(uint32_t algo, struct rsa_keypair *key, in decrypt_es()
243 static TEE_Result encrypt_es(uint32_t algo, struct rsa_public_key *key, in encrypt_es()
402 static TEE_Result sign_ssa(uint32_t algo, struct rsa_keypair *key, in sign_ssa()
441 static TEE_Result verify_ssa(uint32_t algo, struct rsa_public_key *key, in verify_ssa()
/optee_os/core/drivers/crypto/crypto_api/acipher/
A Drsa.c198 TEE_Result crypto_acipher_rsaes_decrypt(uint32_t algo, struct rsa_keypair *key, in crypto_acipher_rsaes_decrypt()
258 TEE_Result crypto_acipher_rsaes_encrypt(uint32_t algo, in crypto_acipher_rsaes_encrypt()
343 TEE_Result crypto_acipher_rsassa_sign(uint32_t algo, struct rsa_keypair *key, in crypto_acipher_rsassa_sign()
424 TEE_Result crypto_acipher_rsassa_verify(uint32_t algo, in crypto_acipher_rsassa_verify()
A Decc.c48 static bool algo_is_valid(uint32_t curve, uint32_t algo) in algo_is_valid()
131 static TEE_Result ecc_sign(uint32_t algo, struct ecc_keypair *key, in ecc_sign()
203 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/lib/libmbedtls/core/
A Drsa.c38 static uint32_t tee_algo_to_mbedtls_hash_algo(uint32_t algo) in tee_algo_to_mbedtls_hash_algo()
350 TEE_Result crypto_acipher_rsaes_decrypt(uint32_t algo, struct rsa_keypair *key, in crypto_acipher_rsaes_decrypt()
438 TEE_Result crypto_acipher_rsaes_encrypt(uint32_t algo, in crypto_acipher_rsaes_encrypt()
509 TEE_Result crypto_acipher_rsassa_sign(uint32_t algo, struct rsa_keypair *key, in crypto_acipher_rsassa_sign()
596 TEE_Result crypto_acipher_rsassa_verify(uint32_t algo, in crypto_acipher_rsassa_verify()
A Decc.c51 static TEE_Result ecc_get_keysize(uint32_t curve, uint32_t algo, in ecc_get_keysize()
174 static TEE_Result ecc_sign(uint32_t algo, struct ecc_keypair *key, in ecc_sign()
243 static TEE_Result ecc_verify(uint32_t algo, struct ecc_public_key *key, in ecc_verify()
/optee_os/scripts/
A Dsign_encrypt.py11 algo = {'TEE_ALG_RSASSA_PKCS1_PSS_MGF1_SHA256': 0x70414930, variable

Completed in 33 milliseconds

12