/optee_test/host/xtest/ |
A D | regression_4000_data.h | 6494 .algo = TEE_ALG_ECDH_P192, 6504 .algo = TEE_ALG_ECDH_P192, 6514 .algo = TEE_ALG_ECDH_P192, 6524 .algo = TEE_ALG_ECDH_P192, 6534 .algo = TEE_ALG_ECDH_P192, 6544 .algo = TEE_ALG_ECDH_P192, 6554 .algo = TEE_ALG_ECDH_P192, 6564 .algo = TEE_ALG_ECDH_P192, 6574 .algo = TEE_ALG_ECDH_P192, 6584 .algo = TEE_ALG_ECDH_P192, [all …]
|
A D | sha_perf.c | 110 switch (algo) { in algo_str() 128 switch (algo) { in hash_size() 158 out_shm.size = hash_size(algo); in alloc_shm() 244 op.params[0].value.a = algo; in prepare_op() 306 prepare_op(algo); in sha_perf_run_test() 326 algo_str(algo), size); in sha_perf_run_test() 415 algo = TA_SHA_SHA1; in sha_perf_runner_cmd_parser() 417 algo = TA_SHA_SHA224; in sha_perf_runner_cmd_parser() 419 algo = TA_SHA_SHA256; in sha_perf_runner_cmd_parser() 421 algo = TA_SHA_SHA384; in sha_perf_runner_cmd_parser() [all …]
|
A D | benchmark_2000.c | 32 int algo = TA_SHA_SHA1; /* Algorithm */ in xtest_tee_benchmark_2001() local 36 sha_perf_run_test(algo, size, CRYPTO_DEF_COUNT, in xtest_tee_benchmark_2001() 46 int algo = TA_SHA_SHA256; /* Algorithm */ in xtest_tee_benchmark_2002() local 50 sha_perf_run_test(algo, size, CRYPTO_DEF_COUNT, in xtest_tee_benchmark_2002()
|
A D | regression_8000.c | 316 #define TEST_HKDF_DATA(section, algo, id, oeb /* omit empty bufs */) \ in xtest_test_derivation_hkdf() argument 318 section, algo, \ in xtest_test_derivation_hkdf() 326 uint32_t algo; in xtest_test_derivation_hkdf() member 373 hc->algo, TEE_MODE_DERIVE, max_size))) in xtest_test_derivation_hkdf() 453 #define TEST_CONCAT_KDF_DATA(name, algo, id, oeb /* omit empty bufs */) \ in xtest_test_derivation_concat_kdf() argument 455 name, algo, \ in xtest_test_derivation_concat_kdf() 464 uint32_t algo; in xtest_test_derivation_concat_kdf() member 493 cc->algo, TEE_MODE_DERIVE, max_size))) in xtest_test_derivation_concat_kdf() 574 level, section, algo, \ in xtest_test_derivation_pbkdf2() 588 uint32_t algo; in xtest_test_derivation_pbkdf2() member [all …]
|
A D | regression_4000.c | 962 uint32_t algo; member 1024 hash_cases[n].algo, in xtest_tee_test_4001() 1106 uint32_t algo; member 1953 uint32_t algo; member 2375 uint32_t algo; member 2678 uint32_t algo; member 3819 switch (tv->algo) { in xtest_tee_test_4006() 4636 uint32_t algo; in xtest_tee_test_4007_ecc() member 4820 pt->algo); in xtest_tee_test_4009() 4824 pt->algo, in xtest_tee_test_4009() [all …]
|
A D | crypto_common.h | 48 void sha_perf_run_test(int algo, size_t size, unsigned int n,
|
A D | xtest_helpers.c | 44 uint32_t algo, uint32_t mode, in ta_crypt_cmd_allocate_operation() argument 52 op.params[0].value.b = algo; in ta_crypt_cmd_allocate_operation() 380 uint32_t algo, uint32_t element) in ta_crypt_cmd_is_algo_supported() argument 387 op.params[0].value.a = algo; in ta_crypt_cmd_is_algo_supported()
|
A D | xtest_helpers.h | 47 uint32_t algo,
|
A D | regression_1000.c | 696 load_corrupt_ta(c, offsetof(struct shdr, algo), 1)); in test_1008_corrupt_ta()
|
/optee_test/ta/sha_perf/ |
A D | ta_sha_perf.c | 58 uint32_t algo = 0; in cmd_prepare_op() local 69 algo = TEE_ALG_SHA1; in cmd_prepare_op() 72 algo = TEE_ALG_SHA224; in cmd_prepare_op() 75 algo = TEE_ALG_SHA256; in cmd_prepare_op() 78 algo = TEE_ALG_SHA384; in cmd_prepare_op() 81 algo = TEE_ALG_SHA512; in cmd_prepare_op() 90 res = TEE_AllocateOperation(&digest_op, algo, TEE_MODE_DIGEST, 0); in cmd_prepare_op()
|
/optee_test/ta/aes_perf/ |
A D | ta_aes_perf.c | 30 static uint32_t algo; variable 142 if (algo == TEE_ALG_AES_GCM) in cmd_process() 211 algo = TEE_ALG_AES_ECB_NOPAD; in cmd_prepare_key() 215 algo = TEE_ALG_AES_CBC_NOPAD; in cmd_prepare_key() 219 algo = TEE_ALG_AES_CTR; in cmd_prepare_key() 223 algo = TEE_ALG_AES_XTS; in cmd_prepare_key() 228 algo = TEE_ALG_AES_GCM; in cmd_prepare_key() 237 res = TEE_AllocateOperation(&crypto_op, algo, mode, op_keysize); in cmd_prepare_key() 250 if (algo == TEE_ALG_AES_XTS) { in cmd_prepare_key() 279 if (algo == TEE_ALG_AES_GCM) { in cmd_prepare_key()
|
/optee_test/host/xtest/gp/include/ |
A D | xml_crypto_api.h | 900 uint32_t algo; member 984 saved_alloc.algo = 0; in crypto_reset() 1069 op.params[0].value.a = algo; in Invoke_Crypto_AllocateOperation() 1083 saved_alloc.algo = algo; in Invoke_Crypto_AllocateOperation() 2658 switch (algo) { in hash_algo_to_md() 3101 switch (algo) { in algo_to_md() 3126 switch (algo) { in padding_is_pkcs1_v1_5() 3154 uint32_t algo, in rsa_sign_digest() argument 3178 if (padding_is_pkcs1_v1_5(algo)) { in rsa_sign_digest() 3245 uint32_t algo, in rsa_verify_digest() argument [all …]
|