Home
last modified time | relevance | path

Searched refs:s (Results 1 – 25 of 40) sorted by relevance

12

/optee_test-3.20.0/host/xtest/
A Dregression_4100.c840 res = cmd_new_var(c, s, 512, &h1); in compare_str()
843 res = cmd_new_var(c, s, 512, &h2); in compare_str()
854 res = cmd_cmp(c, s, h1, h2, &cres); in compare_str()
873 res = cmd_new_var(c, s, 512, &h); in compare_s32()
1086 const char *s; in test_4105() member
1265 const char *s; in test_4107() member
1340 cmd_new_var(c, s, 2048, &hout))) in do_div()
1357 compare_handle(c, s, hq, hout, 0))) in do_div()
1373 cmd_cmp_s32(c, s, hq, 0, &cres))) in do_div()
1381 cmd_cmp_s32(c, s, hr, 0, &cres))) in do_div()
[all …]
A Dxtest_helpers.h47 TEEC_Session *s,
54 TEEC_Session *s,
59 TEEC_Session *s,
65 TEEC_Session *s,
70 TEEC_Session *s,
74 TEEC_Session *s,
81 TEEC_Session *s,
88 TEEC_Session *s,
91 bool ta_crypt_cmd_is_algo_supported(ADBG_Case_t *c, TEEC_Session *s,
A Dhash_perf.c87 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()
193 ssize_t s = 0; in read_random() local
[all …]
A Daes_perf.c145 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()
316 ssize_t s = 0; in read_random() local
[all …]
A Dinstall_ta.c32 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 Dxtest_helpers.c59 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 Dxtest_uuid_helpers.c28 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 Dregression_4000.c49 TEEC_Session *s, in ta_crypt_cmd_copy_operation() argument
141 TEEC_Session *s, in ta_crypt_cmd_set_operation_key2() argument
233 TEEC_Session *s, in ta_crypt_cmd_mac_final_compute() argument
272 TEEC_Session *s, in ta_crypt_cmd_mac_final_compare() argument
376 TEEC_Session *s, in ta_crypt_cmd_cipher_do_final() argument
504 TEEC_Session *s, in ta_crypt_cmd_ae_update() argument
542 TEEC_Session *s, in ta_crypt_cmd_ae_encrypt_final() argument
587 TEEC_Session *s, in ta_crypt_cmd_ae_decrypt_final() argument
713 TEEC_Session *s, in ta_crypt_cmd_asymmetric_sign() argument
728 TEEC_Session *s, in ta_crypt_cmd_asymmetric_verify() argument
[all …]
A Dxtest_uuid_helpers.h18 TEEC_Result xtest_uuid_from_str(TEEC_UUID *uuid, const char *s);
/optee_test-3.20.0/host/openssl/include/openssl/
A Dssl.h440 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 Dtls1.h176 # 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 Ddes_old.h178 # 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 Dui_compat.h77 # define des_read_pw(b,bf,s,p,v) \ argument
78 _ossl_old_des_read_pw((b),(bf),(s),(p),(v))
A Dui.h241 # 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 Dseed.h125 void SEED_encrypt(const unsigned char s[SEED_BLOCK_SIZE],
128 void SEED_decrypt(const unsigned char s[SEED_BLOCK_SIZE],
A Dbio.h471 # 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 Dkssl.h189 void SSL_set0_kssl_ctx(SSL *s, KSSL_CTX *kctx);
190 KSSL_CTX *SSL_get0_kssl_ctx(SSL *s);
A Dsrp.h87 BIGNUM *s; member
166 BIGNUM *SRP_Calc_x(BIGNUM *s, const char *user, const char *pass);
A Dasn1.h847 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 Dsrtp.h139 SRTP_PROTECTION_PROFILE *SSL_get_selected_srtp_profile(SSL *s);
/optee_test-3.20.0/scripts/
A Drsp_to_gcm_test.py14 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-3.20.0/host/xtest/gp/include/
A Dxml_crypto_api.h1058 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-3.20.0/host/xtest/gp/patches/
A D0010-TEE_DataStorage_API.xml.patch31 …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-3.20.0/host/xtest/adbg/src/
A Dadbg_case.c328 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()
/optee_test-3.20.0/ta/
A Dtop_level_subkey.pem5 0s+0YMOAnPcjdeXacFhOuLCC5BAzZLZb8YEO0sg5wFz0ltpscNHN/jh2MXMN0wJy

Completed in 73 milliseconds

12