/optee_test/host/openssl/include/openssl/ |
A D | modes.h | 14 unsigned char out[16], const void *key); 16 typedef void (*cbc128_f) (const unsigned char *in, unsigned char *out, 20 typedef void (*ctr128_f) (const unsigned char *in, unsigned char *out, 24 typedef void (*ccm128_f) (const unsigned char *in, unsigned char *out, 67 unsigned char *out, size_t len, 133 unsigned char *out, size_t len); 135 unsigned char *out, size_t len); 137 unsigned char *out, size_t len, 140 unsigned char *out, size_t len, 152 unsigned char *out, [all …]
|
A D | aes.h | 100 void AES_encrypt(const unsigned char *in, unsigned char *out, 102 void AES_decrypt(const unsigned char *in, unsigned char *out, 105 void AES_ecb_encrypt(const unsigned char *in, unsigned char *out, 107 void AES_cbc_encrypt(const unsigned char *in, unsigned char *out, 110 void AES_cfb128_encrypt(const unsigned char *in, unsigned char *out, 113 void AES_cfb1_encrypt(const unsigned char *in, unsigned char *out, 116 void AES_cfb8_encrypt(const unsigned char *in, unsigned char *out, 119 void AES_ofb128_encrypt(const unsigned char *in, unsigned char *out, 128 void AES_ige_encrypt(const unsigned char *in, unsigned char *out, 138 unsigned char *out, [all …]
|
A D | camellia.h | 100 void Camellia_encrypt(const unsigned char *in, unsigned char *out, 102 void Camellia_decrypt(const unsigned char *in, unsigned char *out, 105 void Camellia_ecb_encrypt(const unsigned char *in, unsigned char *out, 107 void Camellia_cbc_encrypt(const unsigned char *in, unsigned char *out, 110 void Camellia_cfb128_encrypt(const unsigned char *in, unsigned char *out, 113 void Camellia_cfb1_encrypt(const unsigned char *in, unsigned char *out, 116 void Camellia_cfb8_encrypt(const unsigned char *in, unsigned char *out, 119 void Camellia_ofb128_encrypt(const unsigned char *in, unsigned char *out, 122 void Camellia_ctr128_encrypt(const unsigned char *in, unsigned char *out,
|
A D | lhash.h | 186 void lh_stats(const _LHASH *lh, FILE *out); 187 void lh_node_stats(const _LHASH *lh, FILE *out); 188 void lh_node_usage_stats(const _LHASH *lh, FILE *out); 192 void lh_stats_bio(const _LHASH *lh, BIO *out); 193 void lh_node_stats_bio(const _LHASH *lh, BIO *out); 194 void lh_node_usage_stats_bio(const _LHASH *lh, BIO *out); 225 # define LHM_lh_node_stats_bio(type, lh, out) \ argument 226 lh_node_stats_bio(CHECKED_LHASH_OF(type, lh), out) 227 # define LHM_lh_node_usage_stats_bio(type, lh, out) \ argument 229 # define LHM_lh_stats_bio(type, lh, out) \ argument [all …]
|
A D | idea.h | 83 void idea_ecb_encrypt(const unsigned char *in, unsigned char *out, 91 void idea_cbc_encrypt(const unsigned char *in, unsigned char *out, 94 void idea_cfb64_encrypt(const unsigned char *in, unsigned char *out, 97 void idea_ofb64_encrypt(const unsigned char *in, unsigned char *out,
|
A D | rc2.h | 86 void RC2_ecb_encrypt(const unsigned char *in, unsigned char *out, 90 void RC2_cbc_encrypt(const unsigned char *in, unsigned char *out, long length, 92 void RC2_cfb64_encrypt(const unsigned char *in, unsigned char *out, 95 void RC2_ofb64_encrypt(const unsigned char *in, unsigned char *out,
|
A D | cast.h | 89 void CAST_ecb_encrypt(const unsigned char *in, unsigned char *out, 93 void CAST_cbc_encrypt(const unsigned char *in, unsigned char *out, 96 void CAST_cfb64_encrypt(const unsigned char *in, unsigned char *out, 99 void CAST_ofb64_encrypt(const unsigned char *in, unsigned char *out,
|
A D | seed.h | 132 void SEED_ecb_encrypt(const unsigned char *in, unsigned char *out, 134 void SEED_cbc_encrypt(const unsigned char *in, unsigned char *out, size_t len, 137 void SEED_cfb128_encrypt(const unsigned char *in, unsigned char *out, 141 void SEED_ofb128_encrypt(const unsigned char *in, unsigned char *out,
|
A D | blowfish.h | 114 void BF_ecb_encrypt(const unsigned char *in, unsigned char *out, 116 void BF_cbc_encrypt(const unsigned char *in, unsigned char *out, long length, 118 void BF_cfb64_encrypt(const unsigned char *in, unsigned char *out, 121 void BF_ofb64_encrypt(const unsigned char *in, unsigned char *out,
|
/optee_test/host/xtest/ |
A D | regression_4100.c | 472 out: in convert_from_string() 524 out: in print_handle() 678 out: in test_4101() 760 out: in test_4102() 823 out: in test_4103() 857 out: in compare_str() 884 out: in compare_s32() 968 out: in test_4104() 1069 out: in do_addsub() 1203 out: in test_4106() [all …]
|
A D | regression_8000.c | 374 goto out; in xtest_test_derivation_hkdf() 379 goto out; in xtest_test_derivation_hkdf() 387 goto out; in xtest_test_derivation_hkdf() 392 goto out; in xtest_test_derivation_hkdf() 397 goto out; in xtest_test_derivation_hkdf() 425 memset(out, 0, sizeof(out)); in xtest_test_derivation_hkdf() 443 out: in xtest_test_derivation_hkdf() 543 memset(out, 0, sizeof(out)); in xtest_test_derivation_concat_kdf() 562 out: in xtest_test_derivation_concat_kdf() 676 memset(out, 0, sizeof(out)); in xtest_test_derivation_pbkdf2() [all …]
|
A D | regression_8100.c | 59 goto out; in myasprintf() 64 goto out; in myasprintf() 75 out: in myasprintf() 100 goto out; in test_8102() 104 goto out; in test_8102() 117 out: in test_8102() 149 goto out; in get_cert() 159 out: in get_cert() 220 out: in check() 252 out: in verify_cert() [all …]
|
A D | regression_4000_data.h | 6500 .out = nist_kas_ecc_cdh_testvector_1_out, 6510 .out = nist_kas_ecc_cdh_testvector_2_out, 6520 .out = nist_kas_ecc_cdh_testvector_3_out, 6530 .out = nist_kas_ecc_cdh_testvector_4_out, 6540 .out = nist_kas_ecc_cdh_testvector_5_out, 6550 .out = nist_kas_ecc_cdh_testvector_6_out, 6560 .out = nist_kas_ecc_cdh_testvector_7_out, 6570 .out = nist_kas_ecc_cdh_testvector_8_out, 6580 .out = nist_kas_ecc_cdh_testvector_9_out, 6590 .out = nist_kas_ecc_cdh_testvector_10_out, [all …]
|
A D | regression_4000.c | 1045 memset(out, 0, sizeof(out)); in xtest_tee_test_4001() 1061 memset(out, 0, sizeof(out)); in xtest_tee_test_4001() 1077 memset(out, 0, sizeof(out)); in xtest_tee_test_4001() 1320 memset(out, 0, sizeof(out)); in xtest_tee_test_4002() 1336 memset(out, 0, sizeof(out)); in xtest_tee_test_4002() 2271 memset(out, 0, sizeof(out)); in xtest_tee_test_4003() 2544 memset(out, 0, sizeof(out)); in xtest_tee_test_4005() 3900 memset(out, 0, sizeof(out)); in xtest_tee_test_4006() 4768 memset(out, 0, sizeof(out)); in xtest_tee_test_4008() 5358 memset(out, 0, sizeof(out)); in xtest_tee_test_4014() [all …]
|
A D | xtest_uuid_helpers.c | 38 goto out; in parse_hex() 43 out: in parse_hex() 61 goto out; in xtest_uuid_from_str() 65 goto out; in xtest_uuid_from_str() 69 goto out; in xtest_uuid_from_str() 74 goto out; in xtest_uuid_from_str() 81 out: in xtest_uuid_from_str() 114 goto out; in xtest_uuid_v5() 119 goto out; in xtest_uuid_v5() 124 goto out; in xtest_uuid_v5() [all …]
|
A D | pkcs11_1000.c | 423 out: in xtest_pkcs11_test_1001() 713 out: in test_already_initialized_token() 763 out: in test_uninitialized_token() 845 out: in test_login_logout() 912 out: in test_set_pin() 973 out: in xtest_pkcs11_test_1003() 1033 out: in test_create_destroy_single_object() 1085 out: in test_create_destroy_session_objects() 1141 out: in test_create_objects_in_session() 1328 out: in cipher_init_final() [all …]
|
A D | regression_5000.c | 113 out: in Allocate_In() 134 out: in Allocate_out_of_memory() 160 out: in OpenSession_error_notExistingTA() 184 out: in Allocate_InOut() 210 out: in Register_In() 236 out: in Register_notZeroLength_Out() 261 out: in Register_InOut() 286 out: in Register_zeroLength_Out() 309 out: in Allocate_Out() 358 out: in AllocateThenRegister_SameMemory() [all …]
|
A D | sdp_basic.c | 116 goto out; in allocate_ion_buffer() 123 goto out; in allocate_ion_buffer() 132 goto out; in allocate_ion_buffer() 144 goto out; in allocate_ion_buffer() 148 out: in allocate_ion_buffer() 358 void *out) in check_sdp_dumped() argument 361 char *data = (char *)out; in check_sdp_dumped() 560 out->size, offset, size, in invoke_out_of_bounds() 569 out->size, offset, size, in invoke_out_of_bounds() 582 TEEC_SharedMemory *out = NULL; in sdp_out_of_bounds_memref_test() local [all …]
|
A D | regression_1000.c | 106 Do_ADBG_HexLog(out, sizeof(out), 16); in xtest_crypto_test() 143 Do_ADBG_HexLog(out, sizeof(out), 16); in xtest_crypto_test() 185 Do_ADBG_HexLog(out, sizeof(out), 16); in xtest_crypto_test() 227 Do_ADBG_HexLog(out, sizeof(out), 16); in xtest_crypto_test() 288 out: in xtest_tee_test_1002() 665 out: in load_corrupt_ta() 1005 memset(out, 0, sizeof(out)); in xtest_tee_test_1012() 1168 arg[n].out = out; in xtest_tee_test_1013_single() 1377 out: in xtest_tee_test_1017() 1504 out: in xtest_tee_test_1018() [all …]
|
/optee_test/ |
A D | Makefile | 2 out-dir := $(CURDIR)/out 5 out-dir := $(call strip-trailing-slashes-and-dots,$(O)) 6 ifeq ($(out-dir),) 40 O=$(out-dir) \ 46 O=$(out-dir) \ 52 O=$(out-dir) 57 $(q)$(MAKE) -C host/xtest O=$(out-dir) $@ 58 $(q)$(MAKE) -C ta O=$(out-dir) $@ 59 $(q)$(MAKE) -C host/supp_plugin O=$(out-dir) $@ 78 $(q)find $(out-dir) -name \*.ta -exec cp -a {} ${DESTDIR}/lib/optee_armtz \; [all …]
|
/optee_test/ta/crypt/ |
A D | mbedtls_taf.c | 97 goto out; in ta_entry_mbedtls_check_cert() 108 out: in ta_entry_mbedtls_check_cert() 228 goto out; in ta_entry_mbedtls_sign_cert() 231 goto out; in ta_entry_mbedtls_sign_cert() 237 goto out; in ta_entry_mbedtls_sign_cert() 245 goto out; in ta_entry_mbedtls_sign_cert() 253 goto out; in ta_entry_mbedtls_sign_cert() 260 goto out; in ta_entry_mbedtls_sign_cert() 268 goto out; in ta_entry_mbedtls_sign_cert() 275 goto out; in ta_entry_mbedtls_sign_cert() [all …]
|
/optee_test/ta/concurrent_large/ |
A D | ta_entry.c | 85 void *out = NULL; in ta_entry_sha256() local 108 out = TEE_Malloc(out_len, 0); in ta_entry_sha256() 109 if (!out) { in ta_entry_sha256() 111 goto out; in ta_entry_sha256() 116 goto out; in ta_entry_sha256() 123 params[2].memref.size, out, &out_len); in ta_entry_sha256() 127 TEE_MemMove(params[3].memref.buffer, out, out_len); in ta_entry_sha256() 130 out: in ta_entry_sha256() 131 if (out) in ta_entry_sha256() 132 TEE_Free(out); in ta_entry_sha256()
|
/optee_test/ta/concurrent/ |
A D | ta_entry.c | 85 void *out = NULL; in ta_entry_sha256() local 108 out = TEE_Malloc(out_len, 0); in ta_entry_sha256() 109 if (!out) { in ta_entry_sha256() 111 goto out; in ta_entry_sha256() 116 goto out; in ta_entry_sha256() 123 params[2].memref.size, out, &out_len); in ta_entry_sha256() 127 TEE_MemMove(params[3].memref.buffer, out, out_len); in ta_entry_sha256() 130 out: in ta_entry_sha256() 131 if (out) in ta_entry_sha256() 132 TEE_Free(out); in ta_entry_sha256()
|
/optee_test/cert/ |
A D | README.txt | 4 openssl genrsa -out ca.key 2048 7 openssl req -new -x509 -key ca.key -out ca.crt -days 10000 -batch 10 openssl req -new -out mid.csr -config mid.conf 13 openssl x509 -req -in mid.csr -extfile mid.ext -CA ca.crt -CAkey ca.key -CAcreateserial -out mid.cr… 16 openssl req -new -out my.csr -config my.conf 20 openssl x509 -req -in my.csr -CA mid.crt -CAkey mid.key -CAcreateserial -out my.crt -days 10000
|
/optee_test/ta/ |
A D | Makefile | 6 out-dir := $(call strip-trailing-slashes-and-dots,$(O)) 7 ifeq ($(out-dir),) 50 $(q)$(foreach dir,$(TA_DIRS), $(MAKE) -C $(dir) O=$(out-dir)/ta/$(dir) &&) true 56 echo `[ -d $1 ] && { cd $1; $(RMDIR) $(out-dir)/ta $(out-dir) 2> /dev/null; true; }` > /dev/null 61 …$(q)$(foreach dir,$(TA_DIRS), [ ! -d $(dir) ] || $(MAKE) -C $(dir) O=$(out-dir)/ta/$(dir) $@ &&) t…
|