Home
last modified time | relevance | path

Searched refs:MBEDTLS_GET_UINT32_BE (Results 1 – 25 of 29) sorted by relevance

12

/aosp_15_r20/external/mbedtls/library/
H A Dsha1.c72 local.W[0] = MBEDTLS_GET_UINT32_BE(data, 0); in mbedtls_internal_sha1_process()
73 local.W[1] = MBEDTLS_GET_UINT32_BE(data, 4); in mbedtls_internal_sha1_process()
74 local.W[2] = MBEDTLS_GET_UINT32_BE(data, 8); in mbedtls_internal_sha1_process()
75 local.W[3] = MBEDTLS_GET_UINT32_BE(data, 12); in mbedtls_internal_sha1_process()
76 local.W[4] = MBEDTLS_GET_UINT32_BE(data, 16); in mbedtls_internal_sha1_process()
77 local.W[5] = MBEDTLS_GET_UINT32_BE(data, 20); in mbedtls_internal_sha1_process()
78 local.W[6] = MBEDTLS_GET_UINT32_BE(data, 24); in mbedtls_internal_sha1_process()
79 local.W[7] = MBEDTLS_GET_UINT32_BE(data, 28); in mbedtls_internal_sha1_process()
80 local.W[8] = MBEDTLS_GET_UINT32_BE(data, 32); in mbedtls_internal_sha1_process()
81 local.W[9] = MBEDTLS_GET_UINT32_BE(data, 36); in mbedtls_internal_sha1_process()
[all …]
H A Dcamellia.c329 SIGMA[i][0] = MBEDTLS_GET_UINT32_BE(SIGMA_CHARS[i], 0); in mbedtls_camellia_setkey_enc()
330 SIGMA[i][1] = MBEDTLS_GET_UINT32_BE(SIGMA_CHARS[i], 4); in mbedtls_camellia_setkey_enc()
341 KC[i] = MBEDTLS_GET_UINT32_BE(t, i * 4); in mbedtls_camellia_setkey_enc()
467 X[0] = MBEDTLS_GET_UINT32_BE(input, 0); in mbedtls_camellia_crypt_ecb()
468 X[1] = MBEDTLS_GET_UINT32_BE(input, 4); in mbedtls_camellia_crypt_ecb()
469 X[2] = MBEDTLS_GET_UINT32_BE(input, 8); in mbedtls_camellia_crypt_ecb()
470 X[3] = MBEDTLS_GET_UINT32_BE(input, 12); in mbedtls_camellia_crypt_ecb()
H A Ddes.c400 X = MBEDTLS_GET_UINT32_BE(key, 0); in mbedtls_des_setkey()
401 Y = MBEDTLS_GET_UINT32_BE(key, 4); in mbedtls_des_setkey()
603 X = MBEDTLS_GET_UINT32_BE(input, 0); in mbedtls_des_crypt_ecb()
604 Y = MBEDTLS_GET_UINT32_BE(input, 4); in mbedtls_des_crypt_ecb()
691 X = MBEDTLS_GET_UINT32_BE(input, 0); in mbedtls_des3_crypt_ecb()
692 Y = MBEDTLS_GET_UINT32_BE(input, 4); in mbedtls_des3_crypt_ecb()
H A Dgcm.c70 hi = MBEDTLS_GET_UINT32_BE(h, 0); in gcm_gen_table()
71 lo = MBEDTLS_GET_UINT32_BE(h, 4); in gcm_gen_table()
74 hi = MBEDTLS_GET_UINT32_BE(h, 8); in gcm_gen_table()
75 lo = MBEDTLS_GET_UINT32_BE(h, 12); in gcm_gen_table()
H A Dsha256.c475 local.W[i] = MBEDTLS_GET_UINT32_BE(data, 4 * i); in mbedtls_internal_sha256_process_c()
491 local.W[i] = MBEDTLS_GET_UINT32_BE(data, 4 * i); in mbedtls_internal_sha256_process_c()
H A Dalignment.h237 #define MBEDTLS_GET_UINT32_BE(data, offset) \ macro
H A Dssl_cookie.c362 cookie_time = (unsigned long) MBEDTLS_GET_UINT32_BE(cookie, 0); in mbedtls_ssl_cookie_check()
H A Dnist_kw.c404 Plen = MBEDTLS_GET_UINT32_BE(A, KW_SEMIBLOCK_LENGTH / 2); in mbedtls_nist_kw_unwrap()
H A Dssl_tls13_client.c2759 session->ticket_lifetime = MBEDTLS_GET_UINT32_BE(p, 0); in ssl_tls13_parse_new_session_ticket()
2764 session->ticket_age_add = MBEDTLS_GET_UINT32_BE(p, 4); in ssl_tls13_parse_new_session_ticket()
H A Dssl_tls.c2578 session->ticket_age_add = MBEDTLS_GET_UINT32_BE(p, 3); in ssl_tls13_session_load()
2641 session->ticket_lifetime = MBEDTLS_GET_UINT32_BE(p, 0); in ssl_tls13_session_load()
4602 session_len = MBEDTLS_GET_UINT32_BE(p, 0); in ssl_context_load()
4697 ssl->badmac_seen = MBEDTLS_GET_UINT32_BE(p, 0); in ssl_context_load()
9035 session->verify_result = MBEDTLS_GET_UINT32_BE(p, 0); in ssl_tls12_session_load()
9154 session->ticket_lifetime = MBEDTLS_GET_UINT32_BE(p, 0); in ssl_tls12_session_load()
/aosp_15_r20/external/openthread/third_party/mbedtls/repo/library/
H A Dsha1.c72 local.W[0] = MBEDTLS_GET_UINT32_BE(data, 0); in mbedtls_internal_sha1_process()
73 local.W[1] = MBEDTLS_GET_UINT32_BE(data, 4); in mbedtls_internal_sha1_process()
74 local.W[2] = MBEDTLS_GET_UINT32_BE(data, 8); in mbedtls_internal_sha1_process()
75 local.W[3] = MBEDTLS_GET_UINT32_BE(data, 12); in mbedtls_internal_sha1_process()
76 local.W[4] = MBEDTLS_GET_UINT32_BE(data, 16); in mbedtls_internal_sha1_process()
77 local.W[5] = MBEDTLS_GET_UINT32_BE(data, 20); in mbedtls_internal_sha1_process()
78 local.W[6] = MBEDTLS_GET_UINT32_BE(data, 24); in mbedtls_internal_sha1_process()
79 local.W[7] = MBEDTLS_GET_UINT32_BE(data, 28); in mbedtls_internal_sha1_process()
80 local.W[8] = MBEDTLS_GET_UINT32_BE(data, 32); in mbedtls_internal_sha1_process()
81 local.W[9] = MBEDTLS_GET_UINT32_BE(data, 36); in mbedtls_internal_sha1_process()
[all …]
H A Dcamellia.c329 SIGMA[i][0] = MBEDTLS_GET_UINT32_BE(SIGMA_CHARS[i], 0); in mbedtls_camellia_setkey_enc()
330 SIGMA[i][1] = MBEDTLS_GET_UINT32_BE(SIGMA_CHARS[i], 4); in mbedtls_camellia_setkey_enc()
341 KC[i] = MBEDTLS_GET_UINT32_BE(t, i * 4); in mbedtls_camellia_setkey_enc()
469 X[0] = MBEDTLS_GET_UINT32_BE(input, 0); in mbedtls_camellia_crypt_ecb()
470 X[1] = MBEDTLS_GET_UINT32_BE(input, 4); in mbedtls_camellia_crypt_ecb()
471 X[2] = MBEDTLS_GET_UINT32_BE(input, 8); in mbedtls_camellia_crypt_ecb()
472 X[3] = MBEDTLS_GET_UINT32_BE(input, 12); in mbedtls_camellia_crypt_ecb()
H A Ddes.c400 X = MBEDTLS_GET_UINT32_BE(key, 0); in mbedtls_des_setkey()
401 Y = MBEDTLS_GET_UINT32_BE(key, 4); in mbedtls_des_setkey()
603 X = MBEDTLS_GET_UINT32_BE(input, 0); in mbedtls_des_crypt_ecb()
604 Y = MBEDTLS_GET_UINT32_BE(input, 4); in mbedtls_des_crypt_ecb()
691 X = MBEDTLS_GET_UINT32_BE(input, 0); in mbedtls_des3_crypt_ecb()
692 Y = MBEDTLS_GET_UINT32_BE(input, 4); in mbedtls_des3_crypt_ecb()
H A Dlms.c241 type = (mbedtls_lms_algorithm_type_t) MBEDTLS_GET_UINT32_BE(key, PUBLIC_KEY_TYPE_OFFSET); in mbedtls_lms_import_public_key()
252 MBEDTLS_GET_UINT32_BE(key, PUBLIC_KEY_OTSTYPE_OFFSET); in mbedtls_lms_import_public_key()
334 if (MBEDTLS_GET_UINT32_BE(sig, SIG_OTS_SIG_OFFSET + MBEDTLS_LMOTS_SIG_TYPE_OFFSET) in mbedtls_lms_verify()
343 if (MBEDTLS_GET_UINT32_BE(sig, SIG_TYPE_OFFSET(ctx->params.otstype)) in mbedtls_lms_verify()
349 q_leaf_identifier = MBEDTLS_GET_UINT32_BE(sig, SIG_Q_LEAF_ID_OFFSET); in mbedtls_lms_verify()
H A Dctr.h26 uint32_t x = MBEDTLS_GET_UINT32_BE(n, i << 2); in mbedtls_ctr_increment_counter()
H A Dlmots.c401 MBEDTLS_GET_UINT32_BE(key, MBEDTLS_LMOTS_SIG_TYPE_OFFSET); in mbedtls_lmots_import_public_key()
529 if (MBEDTLS_GET_UINT32_BE(sig, MBEDTLS_LMOTS_SIG_TYPE_OFFSET) != MBEDTLS_LMOTS_SHA256_N32_W8) { in mbedtls_lmots_verify()
H A Dsha256.c505 local.W[i] = MBEDTLS_GET_UINT32_BE(data, 4 * i); in mbedtls_internal_sha256_process_c()
521 local.W[i] = MBEDTLS_GET_UINT32_BE(data, 4 * i); in mbedtls_internal_sha256_process_c()
H A Dssl_cookie.c362 cookie_time = (unsigned long) MBEDTLS_GET_UINT32_BE(cookie, 0); in mbedtls_ssl_cookie_check()
H A Dssl_tls13_client.c2750 session->max_early_data_size = MBEDTLS_GET_UINT32_BE(buf, 0); in ssl_tls13_parse_new_session_ticket_early_data_ext()
2855 session->ticket_lifetime = MBEDTLS_GET_UINT32_BE(p, 0); in ssl_tls13_parse_new_session_ticket()
2865 session->ticket_age_add = MBEDTLS_GET_UINT32_BE(p, 4); in ssl_tls13_parse_new_session_ticket()
H A Dalignment.h412 #define MBEDTLS_GET_UINT32_BE(data, offset) \ macro
H A Dnist_kw.c404 Plen = MBEDTLS_GET_UINT32_BE(A, KW_SEMIBLOCK_LENGTH / 2); in mbedtls_nist_kw_unwrap()
H A Dcmac.c78 uint32_t i32 = MBEDTLS_GET_UINT32_BE(&input[i], 0); in cmac_multiply_by_u()
H A Dssl_tls.c3586 session->verify_result = MBEDTLS_GET_UINT32_BE(p, 0); in ssl_tls12_session_load()
3707 session->ticket_lifetime = MBEDTLS_GET_UINT32_BE(p, 0); in ssl_tls12_session_load()
3910 session->ticket_age_add = MBEDTLS_GET_UINT32_BE(p, 0); in ssl_tls13_session_load()
3931 session->max_early_data_size = MBEDTLS_GET_UINT32_BE(p, 0); in ssl_tls13_session_load()
4011 session->ticket_lifetime = MBEDTLS_GET_UINT32_BE(p, 0); in ssl_tls13_session_load()
5294 session_len = MBEDTLS_GET_UINT32_BE(p, 0); in ssl_context_load()
5389 ssl->badmac_seen = MBEDTLS_GET_UINT32_BE(p, 0); in ssl_context_load()
/aosp_15_r20/external/mbedtls/tests/suites/
H A Dtest_suite_alignment.function266 read = MBEDTLS_GET_UINT32_BE(x, offset);
/aosp_15_r20/external/openthread/third_party/mbedtls/repo/tests/suites/
H A Dtest_suite_alignment.function266 read = MBEDTLS_GET_UINT32_BE(x, offset);

12