Home
last modified time | relevance | path

Searched refs:MBEDTLS_GET_UINT32_LE (Results 1 – 10 of 10) sorted by relevance

/mbedtls/library/
A Dchacha20.c169 ctx->state[4] = MBEDTLS_GET_UINT32_LE(key, 0); in mbedtls_chacha20_setkey()
170 ctx->state[5] = MBEDTLS_GET_UINT32_LE(key, 4); in mbedtls_chacha20_setkey()
171 ctx->state[6] = MBEDTLS_GET_UINT32_LE(key, 8); in mbedtls_chacha20_setkey()
172 ctx->state[7] = MBEDTLS_GET_UINT32_LE(key, 12); in mbedtls_chacha20_setkey()
173 ctx->state[8] = MBEDTLS_GET_UINT32_LE(key, 16); in mbedtls_chacha20_setkey()
174 ctx->state[9] = MBEDTLS_GET_UINT32_LE(key, 20); in mbedtls_chacha20_setkey()
175 ctx->state[10] = MBEDTLS_GET_UINT32_LE(key, 24); in mbedtls_chacha20_setkey()
176 ctx->state[11] = MBEDTLS_GET_UINT32_LE(key, 28); in mbedtls_chacha20_setkey()
189 ctx->state[13] = MBEDTLS_GET_UINT32_LE(nonce, 0); in mbedtls_chacha20_starts()
190 ctx->state[14] = MBEDTLS_GET_UINT32_LE(nonce, 4); in mbedtls_chacha20_starts()
[all …]
A Dmd5.c71 local.X[0] = MBEDTLS_GET_UINT32_LE(data, 0); in mbedtls_internal_md5_process()
72 local.X[1] = MBEDTLS_GET_UINT32_LE(data, 4); in mbedtls_internal_md5_process()
73 local.X[2] = MBEDTLS_GET_UINT32_LE(data, 8); in mbedtls_internal_md5_process()
74 local.X[3] = MBEDTLS_GET_UINT32_LE(data, 12); in mbedtls_internal_md5_process()
75 local.X[4] = MBEDTLS_GET_UINT32_LE(data, 16); in mbedtls_internal_md5_process()
76 local.X[5] = MBEDTLS_GET_UINT32_LE(data, 20); in mbedtls_internal_md5_process()
77 local.X[6] = MBEDTLS_GET_UINT32_LE(data, 24); in mbedtls_internal_md5_process()
78 local.X[7] = MBEDTLS_GET_UINT32_LE(data, 28); in mbedtls_internal_md5_process()
79 local.X[8] = MBEDTLS_GET_UINT32_LE(data, 32); in mbedtls_internal_md5_process()
80 local.X[9] = MBEDTLS_GET_UINT32_LE(data, 36); in mbedtls_internal_md5_process()
[all …]
A Dpoly1305.c94 d0 = MBEDTLS_GET_UINT32_LE(input, offset + 0); in poly1305_process()
95 d1 = MBEDTLS_GET_UINT32_LE(input, offset + 4); in poly1305_process()
96 d2 = MBEDTLS_GET_UINT32_LE(input, offset + 8); in poly1305_process()
97 d3 = MBEDTLS_GET_UINT32_LE(input, offset + 12); in poly1305_process()
246 ctx->r[0] = MBEDTLS_GET_UINT32_LE(key, 0) & 0x0FFFFFFFU; in mbedtls_poly1305_starts()
247 ctx->r[1] = MBEDTLS_GET_UINT32_LE(key, 4) & 0x0FFFFFFCU; in mbedtls_poly1305_starts()
248 ctx->r[2] = MBEDTLS_GET_UINT32_LE(key, 8) & 0x0FFFFFFCU; in mbedtls_poly1305_starts()
251 ctx->s[0] = MBEDTLS_GET_UINT32_LE(key, 16); in mbedtls_poly1305_starts()
252 ctx->s[1] = MBEDTLS_GET_UINT32_LE(key, 20); in mbedtls_poly1305_starts()
253 ctx->s[2] = MBEDTLS_GET_UINT32_LE(key, 24); in mbedtls_poly1305_starts()
[all …]
A Dripemd160.c76 local.X[0] = MBEDTLS_GET_UINT32_LE(data, 0); in mbedtls_internal_ripemd160_process()
77 local.X[1] = MBEDTLS_GET_UINT32_LE(data, 4); in mbedtls_internal_ripemd160_process()
78 local.X[2] = MBEDTLS_GET_UINT32_LE(data, 8); in mbedtls_internal_ripemd160_process()
79 local.X[3] = MBEDTLS_GET_UINT32_LE(data, 12); in mbedtls_internal_ripemd160_process()
80 local.X[4] = MBEDTLS_GET_UINT32_LE(data, 16); in mbedtls_internal_ripemd160_process()
81 local.X[5] = MBEDTLS_GET_UINT32_LE(data, 20); in mbedtls_internal_ripemd160_process()
82 local.X[6] = MBEDTLS_GET_UINT32_LE(data, 24); in mbedtls_internal_ripemd160_process()
83 local.X[7] = MBEDTLS_GET_UINT32_LE(data, 28); in mbedtls_internal_ripemd160_process()
84 local.X[8] = MBEDTLS_GET_UINT32_LE(data, 32); in mbedtls_internal_ripemd160_process()
85 local.X[9] = MBEDTLS_GET_UINT32_LE(data, 36); in mbedtls_internal_ripemd160_process()
[all …]
A Daria.c366 w[0][0] = MBEDTLS_GET_UINT32_LE(key, 0); in mbedtls_aria_setkey_enc()
367 w[0][1] = MBEDTLS_GET_UINT32_LE(key, 4); in mbedtls_aria_setkey_enc()
368 w[0][2] = MBEDTLS_GET_UINT32_LE(key, 8); in mbedtls_aria_setkey_enc()
369 w[0][3] = MBEDTLS_GET_UINT32_LE(key, 12); in mbedtls_aria_setkey_enc()
373 w[1][0] = MBEDTLS_GET_UINT32_LE(key, 16); // 192 bit key in mbedtls_aria_setkey_enc()
374 w[1][1] = MBEDTLS_GET_UINT32_LE(key, 20); in mbedtls_aria_setkey_enc()
378 w[1][3] = MBEDTLS_GET_UINT32_LE(key, 28); in mbedtls_aria_setkey_enc()
449 a = MBEDTLS_GET_UINT32_LE(input, 0); in mbedtls_aria_crypt_ecb()
450 b = MBEDTLS_GET_UINT32_LE(input, 4); in mbedtls_aria_crypt_ecb()
451 c = MBEDTLS_GET_UINT32_LE(input, 8); in mbedtls_aria_crypt_ecb()
[all …]
A Dpsa_crypto_storage.c286 version = MBEDTLS_GET_UINT32_LE(storage_format->version, 0); in psa_parse_key_data_from_storage()
291 *key_data_length = MBEDTLS_GET_UINT32_LE(storage_format->data_len, 0); in psa_parse_key_data_from_storage()
307 attr->lifetime = MBEDTLS_GET_UINT32_LE(storage_format->lifetime, 0); in psa_parse_key_data_from_storage()
310 attr->policy.usage = MBEDTLS_GET_UINT32_LE(storage_format->policy, 0); in psa_parse_key_data_from_storage()
311 attr->policy.alg = MBEDTLS_GET_UINT32_LE(storage_format->policy, sizeof(uint32_t)); in psa_parse_key_data_from_storage()
312 attr->policy.alg2 = MBEDTLS_GET_UINT32_LE(storage_format->policy, 2 * sizeof(uint32_t)); in psa_parse_key_data_from_storage()
A Dpsa_its_file.c101 p_info->size = MBEDTLS_GET_UINT32_LE(header.size, 0); in psa_its_read_file()
102 p_info->flags = MBEDTLS_GET_UINT32_LE(header.flags, 0); in psa_its_read_file()
A Daes.c614 RK[i] = MBEDTLS_GET_UINT32_LE(key, i << 2); in mbedtls_aes_setkey_enc()
894 t.X[0] = MBEDTLS_GET_UINT32_LE(input, 0); t.X[0] ^= *RK++; in mbedtls_internal_aes_encrypt()
895 t.X[1] = MBEDTLS_GET_UINT32_LE(input, 4); t.X[1] ^= *RK++; in mbedtls_internal_aes_encrypt()
896 t.X[2] = MBEDTLS_GET_UINT32_LE(input, 8); t.X[2] ^= *RK++; in mbedtls_internal_aes_encrypt()
897 t.X[3] = MBEDTLS_GET_UINT32_LE(input, 12); t.X[3] ^= *RK++; in mbedtls_internal_aes_encrypt()
956 t.X[0] = MBEDTLS_GET_UINT32_LE(input, 0); t.X[0] ^= *RK++; in mbedtls_internal_aes_decrypt()
957 t.X[1] = MBEDTLS_GET_UINT32_LE(input, 4); t.X[1] ^= *RK++; in mbedtls_internal_aes_decrypt()
958 t.X[2] = MBEDTLS_GET_UINT32_LE(input, 8); t.X[2] ^= *RK++; in mbedtls_internal_aes_decrypt()
959 t.X[3] = MBEDTLS_GET_UINT32_LE(input, 12); t.X[3] ^= *RK++; in mbedtls_internal_aes_decrypt()
A Dalignment.h448 #define MBEDTLS_GET_UINT32_LE(data, offset) \ macro
/mbedtls/tests/suites/
A Dtest_suite_alignment.function281 read = MBEDTLS_GET_UINT32_LE(x, offset);

Completed in 25 milliseconds