/aosp_15_r20/external/mbedtls/library/ |
H A D | gcm.c | 190 MBEDTLS_PUT_UINT32_BE(ctx->HH[8] >> 32, h, 0); in gcm_mult() 191 MBEDTLS_PUT_UINT32_BE(ctx->HH[8], h, 4); in gcm_mult() 192 MBEDTLS_PUT_UINT32_BE(ctx->HL[8] >> 32, h, 8); in gcm_mult() 193 MBEDTLS_PUT_UINT32_BE(ctx->HL[8], h, 12); in gcm_mult() 205 MBEDTLS_PUT_UINT32_BE(ctx->HH[8] >> 32, h, 0); in gcm_mult() 206 MBEDTLS_PUT_UINT32_BE(ctx->HH[8], h, 4); in gcm_mult() 207 MBEDTLS_PUT_UINT32_BE(ctx->HL[8] >> 32, h, 8); in gcm_mult() 208 MBEDTLS_PUT_UINT32_BE(ctx->HL[8], h, 12); in gcm_mult() 242 MBEDTLS_PUT_UINT32_BE(zh >> 32, output, 0); in gcm_mult() 243 MBEDTLS_PUT_UINT32_BE(zh, output, 4); in gcm_mult() [all …]
|
H A D | sha256.c | 702 MBEDTLS_PUT_UINT32_BE(high, ctx->buffer, 56); in mbedtls_sha256_finish() 703 MBEDTLS_PUT_UINT32_BE(low, ctx->buffer, 60); in mbedtls_sha256_finish() 712 MBEDTLS_PUT_UINT32_BE(ctx->state[0], output, 0); in mbedtls_sha256_finish() 713 MBEDTLS_PUT_UINT32_BE(ctx->state[1], output, 4); in mbedtls_sha256_finish() 714 MBEDTLS_PUT_UINT32_BE(ctx->state[2], output, 8); in mbedtls_sha256_finish() 715 MBEDTLS_PUT_UINT32_BE(ctx->state[3], output, 12); in mbedtls_sha256_finish() 716 MBEDTLS_PUT_UINT32_BE(ctx->state[4], output, 16); in mbedtls_sha256_finish() 717 MBEDTLS_PUT_UINT32_BE(ctx->state[5], output, 20); in mbedtls_sha256_finish() 718 MBEDTLS_PUT_UINT32_BE(ctx->state[6], output, 24); in mbedtls_sha256_finish() 724 MBEDTLS_PUT_UINT32_BE(ctx->state[7], output, 28); in mbedtls_sha256_finish()
|
H A D | sha1.c | 326 MBEDTLS_PUT_UINT32_BE(high, ctx->buffer, 56); in mbedtls_sha1_finish() 327 MBEDTLS_PUT_UINT32_BE(low, ctx->buffer, 60); in mbedtls_sha1_finish() 336 MBEDTLS_PUT_UINT32_BE(ctx->state[0], output, 0); in mbedtls_sha1_finish() 337 MBEDTLS_PUT_UINT32_BE(ctx->state[1], output, 4); in mbedtls_sha1_finish() 338 MBEDTLS_PUT_UINT32_BE(ctx->state[2], output, 8); in mbedtls_sha1_finish() 339 MBEDTLS_PUT_UINT32_BE(ctx->state[3], output, 12); in mbedtls_sha1_finish() 340 MBEDTLS_PUT_UINT32_BE(ctx->state[4], output, 16); in mbedtls_sha1_finish()
|
H A D | camellia.c | 505 MBEDTLS_PUT_UINT32_BE(X[2], output, 0); in mbedtls_camellia_crypt_ecb() 506 MBEDTLS_PUT_UINT32_BE(X[3], output, 4); in mbedtls_camellia_crypt_ecb() 507 MBEDTLS_PUT_UINT32_BE(X[0], output, 8); in mbedtls_camellia_crypt_ecb() 508 MBEDTLS_PUT_UINT32_BE(X[1], output, 12); in mbedtls_camellia_crypt_ecb()
|
H A D | des.c | 615 MBEDTLS_PUT_UINT32_BE(Y, output, 0); in mbedtls_des_crypt_ecb() 616 MBEDTLS_PUT_UINT32_BE(X, output, 4); in mbedtls_des_crypt_ecb() 713 MBEDTLS_PUT_UINT32_BE(Y, output, 0); in mbedtls_des3_crypt_ecb() 714 MBEDTLS_PUT_UINT32_BE(X, output, 4); in mbedtls_des3_crypt_ecb()
|
H A D | alignment.h | 252 #define MBEDTLS_PUT_UINT32_BE(n, data, offset) \ macro
|
H A D | ecjpake.c | 176 MBEDTLS_PUT_UINT32_BE(len, *p, 0); in ecjpake_write_len_point() 217 MBEDTLS_PUT_UINT32_BE(id_len, p, 0); in ecjpake_hash()
|
H A D | ssl_cookie.c | 210 MBEDTLS_PUT_UINT32_BE(t, *p, 0); in mbedtls_ssl_cookie_write()
|
H A D | nist_kw.c | 183 MBEDTLS_PUT_UINT32_BE((in_len & 0xffffffff), output, in mbedtls_nist_kw_wrap()
|
H A D | ctr_drbg.c | 142 MBEDTLS_PUT_UINT32_BE(data_len, p, 0); in block_cipher_df()
|
/aosp_15_r20/external/openthread/third_party/mbedtls/repo/library/ |
H A D | sha256.c | 732 MBEDTLS_PUT_UINT32_BE(high, ctx->buffer, 56); in mbedtls_sha256_finish() 733 MBEDTLS_PUT_UINT32_BE(low, ctx->buffer, 60); in mbedtls_sha256_finish() 742 MBEDTLS_PUT_UINT32_BE(ctx->state[0], output, 0); in mbedtls_sha256_finish() 743 MBEDTLS_PUT_UINT32_BE(ctx->state[1], output, 4); in mbedtls_sha256_finish() 744 MBEDTLS_PUT_UINT32_BE(ctx->state[2], output, 8); in mbedtls_sha256_finish() 745 MBEDTLS_PUT_UINT32_BE(ctx->state[3], output, 12); in mbedtls_sha256_finish() 746 MBEDTLS_PUT_UINT32_BE(ctx->state[4], output, 16); in mbedtls_sha256_finish() 747 MBEDTLS_PUT_UINT32_BE(ctx->state[5], output, 20); in mbedtls_sha256_finish() 748 MBEDTLS_PUT_UINT32_BE(ctx->state[6], output, 24); in mbedtls_sha256_finish() 754 MBEDTLS_PUT_UINT32_BE(ctx->state[7], output, 28); in mbedtls_sha256_finish()
|
H A D | lms.c | 116 MBEDTLS_PUT_UINT32_BE(r_node_idx, r_node_idx_bytes, 0); in create_merkle_leaf_value() 190 MBEDTLS_PUT_UINT32_BE(r_node_idx, r_node_idx_bytes, 0); in create_merkle_internal_value() 281 MBEDTLS_PUT_UINT32_BE(ctx->params.type, key, PUBLIC_KEY_TYPE_OFFSET); in mbedtls_lms_export_public_key() 282 MBEDTLS_PUT_UINT32_BE(ctx->params.otstype, key, PUBLIC_KEY_OTSTYPE_OFFSET); in mbedtls_lms_export_public_key() 358 MBEDTLS_PUT_UINT32_BE(q_leaf_identifier, ots_params.q_leaf_identifier, 0); in mbedtls_lms_verify() 742 MBEDTLS_PUT_UINT32_BE(ctx->params.type, sig, SIG_TYPE_OFFSET(ctx->params.otstype)); in mbedtls_lms_sign() 743 MBEDTLS_PUT_UINT32_BE(q_leaf_identifier, sig, SIG_Q_LEAF_ID_OFFSET); in mbedtls_lms_sign()
|
H A D | sha1.c | 326 MBEDTLS_PUT_UINT32_BE(high, ctx->buffer, 56); in mbedtls_sha1_finish() 327 MBEDTLS_PUT_UINT32_BE(low, ctx->buffer, 60); in mbedtls_sha1_finish() 336 MBEDTLS_PUT_UINT32_BE(ctx->state[0], output, 0); in mbedtls_sha1_finish() 337 MBEDTLS_PUT_UINT32_BE(ctx->state[1], output, 4); in mbedtls_sha1_finish() 338 MBEDTLS_PUT_UINT32_BE(ctx->state[2], output, 8); in mbedtls_sha1_finish() 339 MBEDTLS_PUT_UINT32_BE(ctx->state[3], output, 12); in mbedtls_sha1_finish() 340 MBEDTLS_PUT_UINT32_BE(ctx->state[4], output, 16); in mbedtls_sha1_finish()
|
H A D | camellia.c | 507 MBEDTLS_PUT_UINT32_BE(X[2], output, 0); in mbedtls_camellia_crypt_ecb() 508 MBEDTLS_PUT_UINT32_BE(X[3], output, 4); in mbedtls_camellia_crypt_ecb() 509 MBEDTLS_PUT_UINT32_BE(X[0], output, 8); in mbedtls_camellia_crypt_ecb() 510 MBEDTLS_PUT_UINT32_BE(X[1], output, 12); in mbedtls_camellia_crypt_ecb()
|
H A D | des.c | 615 MBEDTLS_PUT_UINT32_BE(Y, output, 0); in mbedtls_des_crypt_ecb() 616 MBEDTLS_PUT_UINT32_BE(X, output, 4); in mbedtls_des_crypt_ecb() 713 MBEDTLS_PUT_UINT32_BE(Y, output, 0); in mbedtls_des3_crypt_ecb() 714 MBEDTLS_PUT_UINT32_BE(X, output, 4); in mbedtls_des3_crypt_ecb()
|
H A D | gcm.c | 529 MBEDTLS_PUT_UINT32_BE(x, y, 12); in gcm_incr() 688 MBEDTLS_PUT_UINT32_BE((orig_add_len >> 32), work_buf, 0); in mbedtls_gcm_finish() 689 MBEDTLS_PUT_UINT32_BE((orig_add_len), work_buf, 4); in mbedtls_gcm_finish() 690 MBEDTLS_PUT_UINT32_BE((orig_len >> 32), work_buf, 8); in mbedtls_gcm_finish() 691 MBEDTLS_PUT_UINT32_BE((orig_len), work_buf, 12); in mbedtls_gcm_finish()
|
H A D | lmots.c | 436 MBEDTLS_PUT_UINT32_BE(ctx->params.type, key, MBEDTLS_LMOTS_SIG_TYPE_OFFSET); in mbedtls_lmots_export_public_key() 591 MBEDTLS_PUT_UINT32_BE(q_leaf_identifier, ctx->params.q_leaf_identifier, 0); in mbedtls_lmots_generate_private_key() 736 MBEDTLS_PUT_UINT32_BE(ctx->params.type, sig, MBEDTLS_LMOTS_SIG_TYPE_OFFSET); in mbedtls_lmots_sign()
|
H A D | ctr.h | 28 MBEDTLS_PUT_UINT32_BE(x, n, i << 2); in mbedtls_ctr_increment_counter()
|
H A D | ecjpake.c | 176 MBEDTLS_PUT_UINT32_BE(len, *p, 0); in ecjpake_write_len_point() 217 MBEDTLS_PUT_UINT32_BE(id_len, p, 0); in ecjpake_hash()
|
H A D | ssl_cookie.c | 210 MBEDTLS_PUT_UINT32_BE(t, *p, 0); in mbedtls_ssl_cookie_write()
|
H A D | alignment.h | 427 #define MBEDTLS_PUT_UINT32_BE(n, data, offset) \ macro
|
H A D | nist_kw.c | 183 MBEDTLS_PUT_UINT32_BE((in_len & 0xffffffff), output, in mbedtls_nist_kw_wrap()
|
/aosp_15_r20/external/openthread/third_party/mbedtls/repo/tests/src/ |
H A D | random.c | 129 MBEDTLS_PUT_UINT32_BE(info->v0, result, 0); in mbedtls_test_rnd_pseudo_rand()
|
/aosp_15_r20/external/mbedtls/tests/src/ |
H A D | random.c | 129 MBEDTLS_PUT_UINT32_BE(info->v0, result, 0); in mbedtls_test_rnd_pseudo_rand()
|
/aosp_15_r20/external/mbedtls/tests/suites/ |
H A D | test_suite_alignment.function | 314 MBEDTLS_PUT_UINT32_BE(read, x, offset);
|