Home
last modified time | relevance | path

Searched refs:algo (Results 1 – 12 of 12) sorted by relevance

/optee_test/host/xtest/
A Dregression_4000_data.h6494 .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 Dsha_perf.c110 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 Dbenchmark_2000.c32 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 Dregression_8000.c316 #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 Dregression_4000.c962 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 Dcrypto_common.h48 void sha_perf_run_test(int algo, size_t size, unsigned int n,
A Dxtest_helpers.c44 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 Dxtest_helpers.h47 uint32_t algo,
A Dregression_1000.c696 load_corrupt_ta(c, offsetof(struct shdr, algo), 1)); in test_1008_corrupt_ta()
/optee_test/ta/sha_perf/
A Dta_sha_perf.c58 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 Dta_aes_perf.c30 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 Dxml_crypto_api.h900 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 …]

Completed in 45 milliseconds