Home
last modified time | relevance | path

Searched refs:MBEDTLS_PUT_UINT32_LE (Results 1 – 20 of 20) sorted by relevance

/aosp_15_r20/external/openthread/third_party/mbedtls/repo/library/
H A Dpsa_crypto_storage.c246 MBEDTLS_PUT_UINT32_LE(0, storage_format->version, 0); in psa_format_key_data_for_storage()
247 MBEDTLS_PUT_UINT32_LE(attr->lifetime, storage_format->lifetime, 0); in psa_format_key_data_for_storage()
250 MBEDTLS_PUT_UINT32_LE(attr->policy.usage, storage_format->policy, 0); in psa_format_key_data_for_storage()
251 MBEDTLS_PUT_UINT32_LE(attr->policy.alg, storage_format->policy, sizeof(uint32_t)); in psa_format_key_data_for_storage()
252 MBEDTLS_PUT_UINT32_LE(attr->policy.alg2, storage_format->policy, 2 * sizeof(uint32_t)); in psa_format_key_data_for_storage()
253 MBEDTLS_PUT_UINT32_LE(data_length, storage_format->data_len, 0); in psa_format_key_data_for_storage()
H A Dmd5.c290 MBEDTLS_PUT_UINT32_LE(low, ctx->buffer, 56); in mbedtls_md5_finish()
291 MBEDTLS_PUT_UINT32_LE(high, ctx->buffer, 60); in mbedtls_md5_finish()
300 MBEDTLS_PUT_UINT32_LE(ctx->state[0], output, 0); in mbedtls_md5_finish()
301 MBEDTLS_PUT_UINT32_LE(ctx->state[1], output, 4); in mbedtls_md5_finish()
302 MBEDTLS_PUT_UINT32_LE(ctx->state[2], output, 8); in mbedtls_md5_finish()
303 MBEDTLS_PUT_UINT32_LE(ctx->state[3], output, 12); in mbedtls_md5_finish()
H A Dripemd160.c339 MBEDTLS_PUT_UINT32_LE(low, msglen, 0); in mbedtls_ripemd160_finish()
340 MBEDTLS_PUT_UINT32_LE(high, msglen, 4); in mbedtls_ripemd160_finish()
355 MBEDTLS_PUT_UINT32_LE(ctx->state[0], output, 0); in mbedtls_ripemd160_finish()
356 MBEDTLS_PUT_UINT32_LE(ctx->state[1], output, 4); in mbedtls_ripemd160_finish()
357 MBEDTLS_PUT_UINT32_LE(ctx->state[2], output, 8); in mbedtls_ripemd160_finish()
358 MBEDTLS_PUT_UINT32_LE(ctx->state[3], output, 12); in mbedtls_ripemd160_finish()
359 MBEDTLS_PUT_UINT32_LE(ctx->state[4], output, 16); in mbedtls_ripemd160_finish()
H A Dpoly1305.c222 MBEDTLS_PUT_UINT32_LE(acc0, mac, 0); in poly1305_compute_mac()
223 MBEDTLS_PUT_UINT32_LE(acc1, mac, 4); in poly1305_compute_mac()
224 MBEDTLS_PUT_UINT32_LE(acc2, mac, 8); in poly1305_compute_mac()
225 MBEDTLS_PUT_UINT32_LE(acc3, mac, 12); in poly1305_compute_mac()
H A Daria.c484 MBEDTLS_PUT_UINT32_LE(a, output, 0); in mbedtls_aria_crypt_ecb()
485 MBEDTLS_PUT_UINT32_LE(b, output, 4); in mbedtls_aria_crypt_ecb()
486 MBEDTLS_PUT_UINT32_LE(c, output, 8); in mbedtls_aria_crypt_ecb()
487 MBEDTLS_PUT_UINT32_LE(d, output, 12); in mbedtls_aria_crypt_ecb()
H A Dpsa_its_file.c191 MBEDTLS_PUT_UINT32_LE(data_length, header.size, 0); in psa_its_set()
192 MBEDTLS_PUT_UINT32_LE(create_flags, header.flags, 0); in psa_its_set()
H A Daes.c930 MBEDTLS_PUT_UINT32_LE(t.X[0], output, 0); in mbedtls_internal_aes_encrypt()
931 MBEDTLS_PUT_UINT32_LE(t.X[1], output, 4); in mbedtls_internal_aes_encrypt()
932 MBEDTLS_PUT_UINT32_LE(t.X[2], output, 8); in mbedtls_internal_aes_encrypt()
933 MBEDTLS_PUT_UINT32_LE(t.X[3], output, 12); in mbedtls_internal_aes_encrypt()
992 MBEDTLS_PUT_UINT32_LE(t.X[0], output, 0); in mbedtls_internal_aes_decrypt()
993 MBEDTLS_PUT_UINT32_LE(t.X[1], output, 4); in mbedtls_internal_aes_decrypt()
994 MBEDTLS_PUT_UINT32_LE(t.X[2], output, 8); in mbedtls_internal_aes_decrypt()
995 MBEDTLS_PUT_UINT32_LE(t.X[3], output, 12); in mbedtls_internal_aes_decrypt()
H A Dchacha20.c137 MBEDTLS_PUT_UINT32_LE(working_state[i], keystream, offset); in chacha20_block()
H A Dalignment.h464 #define MBEDTLS_PUT_UINT32_LE(n, data, offset) \ macro
/aosp_15_r20/external/mbedtls/library/
H A Dpsa_crypto_storage.c246 MBEDTLS_PUT_UINT32_LE(0, storage_format->version, 0); in psa_format_key_data_for_storage()
247 MBEDTLS_PUT_UINT32_LE(attr->lifetime, storage_format->lifetime, 0); in psa_format_key_data_for_storage()
250 MBEDTLS_PUT_UINT32_LE(attr->policy.usage, storage_format->policy, 0); in psa_format_key_data_for_storage()
251 MBEDTLS_PUT_UINT32_LE(attr->policy.alg, storage_format->policy, sizeof(uint32_t)); in psa_format_key_data_for_storage()
252 MBEDTLS_PUT_UINT32_LE(attr->policy.alg2, storage_format->policy, 2 * sizeof(uint32_t)); in psa_format_key_data_for_storage()
253 MBEDTLS_PUT_UINT32_LE(data_length, storage_format->data_len, 0); in psa_format_key_data_for_storage()
H A Dmd5.c290 MBEDTLS_PUT_UINT32_LE(low, ctx->buffer, 56); in mbedtls_md5_finish()
291 MBEDTLS_PUT_UINT32_LE(high, ctx->buffer, 60); in mbedtls_md5_finish()
300 MBEDTLS_PUT_UINT32_LE(ctx->state[0], output, 0); in mbedtls_md5_finish()
301 MBEDTLS_PUT_UINT32_LE(ctx->state[1], output, 4); in mbedtls_md5_finish()
302 MBEDTLS_PUT_UINT32_LE(ctx->state[2], output, 8); in mbedtls_md5_finish()
303 MBEDTLS_PUT_UINT32_LE(ctx->state[3], output, 12); in mbedtls_md5_finish()
H A Dripemd160.c339 MBEDTLS_PUT_UINT32_LE(low, msglen, 0); in mbedtls_ripemd160_finish()
340 MBEDTLS_PUT_UINT32_LE(high, msglen, 4); in mbedtls_ripemd160_finish()
355 MBEDTLS_PUT_UINT32_LE(ctx->state[0], output, 0); in mbedtls_ripemd160_finish()
356 MBEDTLS_PUT_UINT32_LE(ctx->state[1], output, 4); in mbedtls_ripemd160_finish()
357 MBEDTLS_PUT_UINT32_LE(ctx->state[2], output, 8); in mbedtls_ripemd160_finish()
358 MBEDTLS_PUT_UINT32_LE(ctx->state[3], output, 12); in mbedtls_ripemd160_finish()
359 MBEDTLS_PUT_UINT32_LE(ctx->state[4], output, 16); in mbedtls_ripemd160_finish()
H A Dpoly1305.c222 MBEDTLS_PUT_UINT32_LE(acc0, mac, 0); in poly1305_compute_mac()
223 MBEDTLS_PUT_UINT32_LE(acc1, mac, 4); in poly1305_compute_mac()
224 MBEDTLS_PUT_UINT32_LE(acc2, mac, 8); in poly1305_compute_mac()
225 MBEDTLS_PUT_UINT32_LE(acc3, mac, 12); in poly1305_compute_mac()
H A Daria.c495 MBEDTLS_PUT_UINT32_LE(a, output, 0); in mbedtls_aria_crypt_ecb()
496 MBEDTLS_PUT_UINT32_LE(b, output, 4); in mbedtls_aria_crypt_ecb()
497 MBEDTLS_PUT_UINT32_LE(c, output, 8); in mbedtls_aria_crypt_ecb()
498 MBEDTLS_PUT_UINT32_LE(d, output, 12); in mbedtls_aria_crypt_ecb()
H A Dpsa_its_file.c196 MBEDTLS_PUT_UINT32_LE(data_length, header.size, 0); in psa_its_set()
197 MBEDTLS_PUT_UINT32_LE(create_flags, header.flags, 0); in psa_its_set()
H A Daes.c966 MBEDTLS_PUT_UINT32_LE(t.X[0], output, 0); in mbedtls_internal_aes_encrypt()
967 MBEDTLS_PUT_UINT32_LE(t.X[1], output, 4); in mbedtls_internal_aes_encrypt()
968 MBEDTLS_PUT_UINT32_LE(t.X[2], output, 8); in mbedtls_internal_aes_encrypt()
969 MBEDTLS_PUT_UINT32_LE(t.X[3], output, 12); in mbedtls_internal_aes_encrypt()
1028 MBEDTLS_PUT_UINT32_LE(t.X[0], output, 0); in mbedtls_internal_aes_decrypt()
1029 MBEDTLS_PUT_UINT32_LE(t.X[1], output, 4); in mbedtls_internal_aes_decrypt()
1030 MBEDTLS_PUT_UINT32_LE(t.X[2], output, 8); in mbedtls_internal_aes_decrypt()
1031 MBEDTLS_PUT_UINT32_LE(t.X[3], output, 12); in mbedtls_internal_aes_decrypt()
H A Dalignment.h289 #define MBEDTLS_PUT_UINT32_LE(n, data, offset) \ macro
H A Dchacha20.c137 MBEDTLS_PUT_UINT32_LE(working_state[i], keystream, offset); in chacha20_block()
/aosp_15_r20/external/mbedtls/tests/suites/
H A Dtest_suite_alignment.function329 MBEDTLS_PUT_UINT32_LE(read, x, offset);
/aosp_15_r20/external/openthread/third_party/mbedtls/repo/tests/suites/
H A Dtest_suite_alignment.function329 MBEDTLS_PUT_UINT32_LE(read, x, offset);