/optee_test/host/xtest/ |
A D | regression_4100.c | 838 res = cmd_new_var(c, s, 512, &h1); in compare_str() 841 res = cmd_new_var(c, s, 512, &h2); in compare_str() 852 res = cmd_cmp(c, s, h1, h2, &cres); in compare_str() 871 res = cmd_new_var(c, s, 512, &h); in compare_s32() 1084 const char *s; in test_4105() member 1263 const char *s; in test_4107() member 1338 cmd_new_var(c, s, 2048, &hout))) in do_div() 1355 compare_handle(c, s, hq, hout, 0))) in do_div() 1371 cmd_cmp_s32(c, s, hq, 0, &cres))) in do_div() 1379 cmd_cmp_s32(c, s, hr, 0, &cres))) in do_div() [all …]
|
A D | sha_perf.c | 87 s->n++; in update_stats() 88 s->m += delta/s->n; in update_stats() 89 s->M2 += delta*(x - s->m); in update_stats() 91 s->min = s->max = x; in update_stats() 94 if (s->min > x) in update_stats() 95 s->min = x; in update_stats() 97 s->max = x; in update_stats() 103 if (s->n < 2) in stddev() 105 return sqrt(s->M2/s->n); in stddev() 172 ssize_t s = 0; in read_random() local [all …]
|
A D | xtest_helpers.h | 45 TEEC_Session *s, 52 TEEC_Session *s, 57 TEEC_Session *s, 63 TEEC_Session *s, 68 TEEC_Session *s, 72 TEEC_Session *s, 79 TEEC_Session *s, 86 TEEC_Session *s, 89 bool ta_crypt_cmd_is_algo_supported(ADBG_Case_t *c, TEEC_Session *s,
|
A D | aes_perf.c | 145 s->n++; in update_stats() 146 s->m += delta/s->n; in update_stats() 147 s->M2 += delta*(x - s->m); in update_stats() 149 s->min = s->max = x; in update_stats() 152 if (s->min > x) in update_stats() 153 s->min = x; in update_stats() 155 s->max = x; in update_stats() 161 if (s->n < 2) in stddev() 163 return sqrt(s->M2/s->n); in stddev() 313 ssize_t s = 0; in read_random() local [all …]
|
A D | install_ta.c | 32 size_t s = 0; in read_ta() local 46 s = ftell(f); in read_ta() 49 buf = malloc(s); in read_ta() 51 err(1, "malloc(%zu)", s); in read_ta() 53 if (fread(buf, 1, s, f) != s) in read_ta() 56 *size = s; in read_ta()
|
A D | xtest_helpers.c | 59 res = TEEC_InvokeCommand(s, TA_CRYPT_CMD_ALLOCATE_OPERATION, &op, in ta_crypt_cmd_allocate_operation() 74 TEEC_Session *s, in ta_crypt_cmd_allocate_transient_object() argument 89 res = TEEC_InvokeCommand(s, TA_CRYPT_CMD_ALLOCATE_TRANSIENT_OBJECT, &op, in ta_crypt_cmd_allocate_transient_object() 193 TEEC_Session *s, in ta_crypt_cmd_populate_transient_object() argument 247 res = TEEC_InvokeCommand(s, TA_CRYPT_CMD_SET_OPERATION_KEY, &op, in ta_crypt_cmd_set_operation_key() 270 res = TEEC_InvokeCommand(s, TA_CRYPT_CMD_FREE_TRANSIENT_OBJECT, &op, in ta_crypt_cmd_free_transient_object() 281 TEEC_Result ta_crypt_cmd_derive_key(ADBG_Case_t *c, TEEC_Session *s, in ta_crypt_cmd_derive_key() argument 322 TEEC_Session *s, in ta_crypt_cmd_get_object_buffer_attribute() argument 368 res = TEEC_InvokeCommand(s, TA_CRYPT_CMD_FREE_OPERATION, &op, in ta_crypt_cmd_free_operation() 379 bool ta_crypt_cmd_is_algo_supported(ADBG_Case_t *c, TEEC_Session *s, in ta_crypt_cmd_is_algo_supported() argument [all …]
|
A D | regression_4000.c | 48 TEEC_Session *s, in ta_crypt_cmd_copy_operation() argument 140 TEEC_Session *s, in ta_crypt_cmd_set_operation_key2() argument 232 TEEC_Session *s, in ta_crypt_cmd_mac_final_compute() argument 271 TEEC_Session *s, in ta_crypt_cmd_mac_final_compare() argument 375 TEEC_Session *s, in ta_crypt_cmd_cipher_do_final() argument 503 TEEC_Session *s, in ta_crypt_cmd_ae_update() argument 541 TEEC_Session *s, in ta_crypt_cmd_ae_encrypt_final() argument 586 TEEC_Session *s, in ta_crypt_cmd_ae_decrypt_final() argument 712 TEEC_Session *s, in ta_crypt_cmd_asymmetric_sign() argument 727 TEEC_Session *s, in ta_crypt_cmd_asymmetric_verify() argument [all …]
|
A D | xtest_uuid_helpers.c | 28 static uint32_t parse_hex(const char *s, size_t nchars, uint32_t *res) in parse_hex() argument 35 c = hex(s[n]); in parse_hex() 47 TEEC_Result xtest_uuid_from_str(TEEC_UUID *uuid, const char *s) in xtest_uuid_from_str() argument 51 const char *p = s; in xtest_uuid_from_str()
|
A D | xtest_uuid_helpers.h | 16 TEEC_Result xtest_uuid_from_str(TEEC_UUID *uuid, const char *s);
|
/optee_test/host/openssl/include/openssl/ |
A D | ssl.h | 440 int (*ssl_new) (SSL *s); 1412 # define SSL_want_nothing(s) (SSL_want(s) == SSL_NOTHING) argument 1413 # define SSL_want_read(s) (SSL_want(s) == SSL_READING) argument 1414 # define SSL_want_write(s) (SSL_want(s) == SSL_WRITING) argument 1415 # define SSL_want_x509_lookup(s) (SSL_want(s) == SSL_X509_LOOKUP) argument 1708 # define SSL_set_app_data(s,arg) (SSL_set_ex_data(s,0,(char *)arg)) argument 1709 # define SSL_get_app_data(s) (SSL_get_ex_data(s,0)) argument 1710 # define SSL_SESSION_set_app_data(s,a) (SSL_SESSION_set_ex_data(s,0,(char *)a)) argument 1711 # define SSL_SESSION_get_app_data(s) (SSL_SESSION_get_ex_data(s,0)) argument 2138 int SSL_clear(SSL *s); [all …]
|
A D | tls1.h | 176 # define TLS1_get_version(s) \ argument 177 ((s->version >> 8) == TLS1_VERSION_MAJOR ? s->version : 0) 179 # define TLS1_get_client_version(s) \ argument 180 ((s->client_version >> 8) == TLS1_VERSION_MAJOR ? s->client_version : 0) 309 const char *SSL_get_servername(const SSL *s, const int type); 310 int SSL_get_servername_type(const SSL *s); 323 int SSL_get_sigalgs(SSL *s, int idx, 327 int SSL_get_shared_sigalgs(SSL *s, int idx, 333 # define SSL_set_tlsext_host_name(s,name) \ argument 385 # define SSL_set_tlsext_opaque_prf_input(s, src, len) \ argument [all …]
|
A D | des_old.h | 178 # define des_fcrypt(b,s,r)\ argument 179 DES_fcrypt((b),(s),(r)) 181 # define des_crypt(b,s)\ 182 DES_crypt((b),(s)) 184 # define crypt(b,s)\ 185 DES_crypt((b),(s)) 216 # define des_string_to_key(s,k)\ argument 282 # define des_fcrypt(b,s,r)\ argument 284 # define des_crypt(b,s)\ argument 287 # define crypt(b,s)\ [all …]
|
A D | ui_compat.h | 77 # define des_read_pw(b,bf,s,p,v) \ argument 78 _ossl_old_des_read_pw((b),(bf),(s),(p),(v))
|
A D | ui.h | 241 # define UI_set_app_data(s,arg) UI_set_ex_data(s,0,arg) argument 242 # define UI_get_app_data(s) UI_get_ex_data(s,0) argument
|
A D | seed.h | 125 void SEED_encrypt(const unsigned char s[SEED_BLOCK_SIZE], 128 void SEED_decrypt(const unsigned char s[SEED_BLOCK_SIZE],
|
A D | bio.h | 471 # define BIO_set_app_data(s,arg) BIO_set_ex_data(s,0,arg) argument 472 # define BIO_get_app_data(s) BIO_get_ex_data(s,0) argument 508 # define BIO_set_filter_bio(b,s) BIO_ctrl(b,BIO_C_SET_PROXY_PARAM,2,(char *)(s)) argument 724 void *u, const char *s, int len); 726 void *u, const char *s, int len, int indent); 730 int BIO_dump_fp(FILE *fp, const char *s, int len); 731 int BIO_dump_indent_fp(FILE *fp, const char *s, int len, int indent);
|
A D | kssl.h | 189 void SSL_set0_kssl_ctx(SSL *s, KSSL_CTX *kctx); 190 KSSL_CTX *SSL_get0_kssl_ctx(SSL *s);
|
A D | asn1.h | 847 ASN1_UTCTIME *ASN1_UTCTIME_set(ASN1_UTCTIME *s, time_t t); 848 ASN1_UTCTIME *ASN1_UTCTIME_adj(ASN1_UTCTIME *s, time_t t, 850 int ASN1_UTCTIME_set_string(ASN1_UTCTIME *s, const char *str); 851 int ASN1_UTCTIME_cmp_time_t(const ASN1_UTCTIME *s, time_t t); 853 time_t ASN1_UTCTIME_get(const ASN1_UTCTIME *s); 857 ASN1_GENERALIZEDTIME *ASN1_GENERALIZEDTIME_set(ASN1_GENERALIZEDTIME *s, 896 ASN1_TIME *ASN1_TIME_set(ASN1_TIME *s, time_t t); 897 ASN1_TIME *ASN1_TIME_adj(ASN1_TIME *s, time_t t, 902 int ASN1_TIME_set_string(ASN1_TIME *s, const char *str); 939 int ASN1_PRINTABLE_type(const unsigned char *s, int max); [all …]
|
A D | srp.h | 87 BIGNUM *s; member 166 BIGNUM *SRP_Calc_x(BIGNUM *s, const char *user, const char *pass);
|
A D | srtp.h | 139 SRTP_PROTECTION_PROFILE *SSL_get_selected_srtp_profile(SSL *s);
|
A D | rsa.h | 317 # define RSA_set_app_data(s,arg) RSA_set_ex_data(s,0,arg) argument 318 # define RSA_get_app_data(s) RSA_get_ex_data(s,0) argument
|
/optee_test/scripts/ |
A D | rsp_to_gcm_test.py | 14 for s in a: 15 b += "0x" + s + ", " 92 s = re.split('\W+', myl) 93 if len(s) == 0: 95 name = s[0] 102 if len(s) < 2: 103 myvars[s[0]] = '' 105 myvars[s[0]] = s[1] 107 if len(s) < 2: 109 val = s[1]
|
/optee_test/host/xtest/gp/include/ |
A D | xml_crypto_api.h | 1058 TEEC_Session *s, in Invoke_Crypto_AllocateOperation() argument 1092 TEEC_Session *s, in Invoke_Crypto_GetOperationInfo() argument 1399 TEEC_Session *s, in Invoke_Crypto_SetOperationKey2() argument 1474 TEEC_Session *s, in Invoke_Crypto_AEUpdate_for_encryption() argument 1538 TEEC_Session *s, in Invoke_Crypto_AEUpdate_for_decryption() argument 2885 const BIGNUM *s = NULL; in dsa_sign_digest() local 2911 BN_bn2bin(s, out_dgst->buffer + out_dgst->size - BN_num_bytes(s)); in dsa_sign_digest() 2928 BIGNUM *s = NULL; in dsa_verify_digest() local 3012 const BIGNUM *s = NULL; in ecdsa_sign_digest() local 3029 BN_bn2bin(s, out_dgst->buffer + out_dgst->size - BN_num_bytes(s)); in ecdsa_sign_digest() [all …]
|
/optee_test/host/xtest/gp/patches/ |
A D | 0010-TEE_DataStorage_API.xml.patch | 31 …sition in the data stream currently stored in the object handle. The handle’s position is incremen… 39 …sition in the data stream currently stored in the object handle. The handle’s position is incremen… 47 …sition in the data stream currently stored in the object handle. The handle’s position is incremen… 55 …sition in the data stream currently stored in the object handle. The handle’s position is incremen… 63 …sition in the data stream currently stored in the object handle. The handle’s position is incremen… 71 …sition in the data stream currently stored in the object handle. The handle’s position is incremen… 79 …sition in the data stream currently stored in the object handle. The handle’s position is incremen… 87 …sition in the data stream currently stored in the object handle. The handle’s position is incremen…
|
/optee_test/host/xtest/adbg/src/ |
A D | adbg_case.c | 328 ADBG_SubCase_t *s = in ADBG_SubCase_Delete() local 331 if (s == NULL) in ADBG_SubCase_Delete() 334 TAILQ_REMOVE(&SubCase_p->SubCasesList, s, Link); in ADBG_SubCase_Delete() 335 ADBG_SubCase_Delete(s); in ADBG_SubCase_Delete()
|