Home
last modified time | relevance | path

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

/mbedtls-development/library/
A Dchacha20.c205 ctx->state[4] = MBEDTLS_GET_UINT32_LE( key, 0 ); in mbedtls_chacha20_setkey()
206 ctx->state[5] = MBEDTLS_GET_UINT32_LE( key, 4 ); in mbedtls_chacha20_setkey()
207 ctx->state[6] = MBEDTLS_GET_UINT32_LE( key, 8 ); in mbedtls_chacha20_setkey()
208 ctx->state[7] = MBEDTLS_GET_UINT32_LE( key, 12 ); in mbedtls_chacha20_setkey()
209 ctx->state[8] = MBEDTLS_GET_UINT32_LE( key, 16 ); in mbedtls_chacha20_setkey()
210 ctx->state[9] = MBEDTLS_GET_UINT32_LE( key, 20 ); in mbedtls_chacha20_setkey()
211 ctx->state[10] = MBEDTLS_GET_UINT32_LE( key, 24 ); in mbedtls_chacha20_setkey()
212 ctx->state[11] = MBEDTLS_GET_UINT32_LE( key, 28 ); in mbedtls_chacha20_setkey()
228 ctx->state[13] = MBEDTLS_GET_UINT32_LE( nonce, 0 ); in mbedtls_chacha20_starts()
229 ctx->state[14] = MBEDTLS_GET_UINT32_LE( nonce, 4 ); in mbedtls_chacha20_starts()
[all …]
A Dmd5.c90 local.X[ 0] = MBEDTLS_GET_UINT32_LE( data, 0 ); in mbedtls_internal_md5_process()
91 local.X[ 1] = MBEDTLS_GET_UINT32_LE( data, 4 ); in mbedtls_internal_md5_process()
92 local.X[ 2] = MBEDTLS_GET_UINT32_LE( data, 8 ); in mbedtls_internal_md5_process()
93 local.X[ 3] = MBEDTLS_GET_UINT32_LE( data, 12 ); in mbedtls_internal_md5_process()
94 local.X[ 4] = MBEDTLS_GET_UINT32_LE( data, 16 ); in mbedtls_internal_md5_process()
95 local.X[ 5] = MBEDTLS_GET_UINT32_LE( data, 20 ); in mbedtls_internal_md5_process()
96 local.X[ 6] = MBEDTLS_GET_UINT32_LE( data, 24 ); in mbedtls_internal_md5_process()
97 local.X[ 7] = MBEDTLS_GET_UINT32_LE( data, 28 ); in mbedtls_internal_md5_process()
98 local.X[ 8] = MBEDTLS_GET_UINT32_LE( data, 32 ); in mbedtls_internal_md5_process()
99 local.X[ 9] = MBEDTLS_GET_UINT32_LE( data, 36 ); in mbedtls_internal_md5_process()
[all …]
A Dpoly1305.c125 d0 = MBEDTLS_GET_UINT32_LE( input, offset + 0 ); in poly1305_process()
126 d1 = MBEDTLS_GET_UINT32_LE( input, offset + 4 ); in poly1305_process()
127 d2 = MBEDTLS_GET_UINT32_LE( input, offset + 8 ); in poly1305_process()
128 d3 = MBEDTLS_GET_UINT32_LE( input, offset + 12 ); in poly1305_process()
281 ctx->r[0] = MBEDTLS_GET_UINT32_LE( key, 0 ) & 0x0FFFFFFFU; in mbedtls_poly1305_starts()
282 ctx->r[1] = MBEDTLS_GET_UINT32_LE( key, 4 ) & 0x0FFFFFFCU; in mbedtls_poly1305_starts()
283 ctx->r[2] = MBEDTLS_GET_UINT32_LE( key, 8 ) & 0x0FFFFFFCU; in mbedtls_poly1305_starts()
286 ctx->s[0] = MBEDTLS_GET_UINT32_LE( key, 16 ); in mbedtls_poly1305_starts()
287 ctx->s[1] = MBEDTLS_GET_UINT32_LE( key, 20 ); in mbedtls_poly1305_starts()
288 ctx->s[2] = MBEDTLS_GET_UINT32_LE( key, 24 ); in mbedtls_poly1305_starts()
[all …]
A Dripemd160.c95 local.X[ 0] = MBEDTLS_GET_UINT32_LE( data, 0 ); in mbedtls_internal_ripemd160_process()
96 local.X[ 1] = MBEDTLS_GET_UINT32_LE( data, 4 ); in mbedtls_internal_ripemd160_process()
97 local.X[ 2] = MBEDTLS_GET_UINT32_LE( data, 8 ); in mbedtls_internal_ripemd160_process()
98 local.X[ 3] = MBEDTLS_GET_UINT32_LE( data, 12 ); in mbedtls_internal_ripemd160_process()
99 local.X[ 4] = MBEDTLS_GET_UINT32_LE( data, 16 ); in mbedtls_internal_ripemd160_process()
100 local.X[ 5] = MBEDTLS_GET_UINT32_LE( data, 20 ); in mbedtls_internal_ripemd160_process()
101 local.X[ 6] = MBEDTLS_GET_UINT32_LE( data, 24 ); in mbedtls_internal_ripemd160_process()
102 local.X[ 7] = MBEDTLS_GET_UINT32_LE( data, 28 ); in mbedtls_internal_ripemd160_process()
103 local.X[ 8] = MBEDTLS_GET_UINT32_LE( data, 32 ); in mbedtls_internal_ripemd160_process()
104 local.X[ 9] = MBEDTLS_GET_UINT32_LE( data, 36 ); in mbedtls_internal_ripemd160_process()
[all …]
A Daria.c437 w[0][0] = MBEDTLS_GET_UINT32_LE( key, 0 ); in mbedtls_aria_setkey_enc()
438 w[0][1] = MBEDTLS_GET_UINT32_LE( key, 4 ); in mbedtls_aria_setkey_enc()
439 w[0][2] = MBEDTLS_GET_UINT32_LE( key, 8 ); in mbedtls_aria_setkey_enc()
440 w[0][3] = MBEDTLS_GET_UINT32_LE( key, 12 ); in mbedtls_aria_setkey_enc()
445 w[1][0] = MBEDTLS_GET_UINT32_LE( key, 16 ); // 192 bit key in mbedtls_aria_setkey_enc()
446 w[1][1] = MBEDTLS_GET_UINT32_LE( key, 20 ); in mbedtls_aria_setkey_enc()
451 w[1][3] = MBEDTLS_GET_UINT32_LE( key, 28 ); in mbedtls_aria_setkey_enc()
528 a = MBEDTLS_GET_UINT32_LE( input, 0 ); in mbedtls_aria_crypt_ecb()
529 b = MBEDTLS_GET_UINT32_LE( input, 4 ); in mbedtls_aria_crypt_ecb()
530 c = MBEDTLS_GET_UINT32_LE( input, 8 ); in mbedtls_aria_crypt_ecb()
[all …]
A Dpsa_crypto_storage.c296 version = MBEDTLS_GET_UINT32_LE( storage_format->version, 0 ); in psa_parse_key_data_from_storage()
300 *key_data_length = MBEDTLS_GET_UINT32_LE( storage_format->data_len, 0 ); in psa_parse_key_data_from_storage()
317 attr->lifetime = MBEDTLS_GET_UINT32_LE( storage_format->lifetime, 0 ); in psa_parse_key_data_from_storage()
320 attr->policy.usage = MBEDTLS_GET_UINT32_LE( storage_format->policy, 0 ); in psa_parse_key_data_from_storage()
321 attr->policy.alg = MBEDTLS_GET_UINT32_LE( storage_format->policy, sizeof( uint32_t ) ); in psa_parse_key_data_from_storage()
322 attr->policy.alg2 = MBEDTLS_GET_UINT32_LE( storage_format->policy, 2 * sizeof( uint32_t ) ); in psa_parse_key_data_from_storage()
A Dcommon.h132 #ifndef MBEDTLS_GET_UINT32_LE
133 #define MBEDTLS_GET_UINT32_LE( data, offset ) \ macro
A Daes.c570 RK[i] = MBEDTLS_GET_UINT32_LE( key, i << 2 ); in mbedtls_aes_setkey_enc()
853 t.X[0] = MBEDTLS_GET_UINT32_LE( input, 0 ); t.X[0] ^= *RK++; in mbedtls_internal_aes_encrypt()
854 t.X[1] = MBEDTLS_GET_UINT32_LE( input, 4 ); t.X[1] ^= *RK++; in mbedtls_internal_aes_encrypt()
855 t.X[2] = MBEDTLS_GET_UINT32_LE( input, 8 ); t.X[2] ^= *RK++; in mbedtls_internal_aes_encrypt()
856 t.X[3] = MBEDTLS_GET_UINT32_LE( input, 12 ); t.X[3] ^= *RK++; in mbedtls_internal_aes_encrypt()
917 t.X[0] = MBEDTLS_GET_UINT32_LE( input, 0 ); t.X[0] ^= *RK++; in mbedtls_internal_aes_decrypt()
918 t.X[1] = MBEDTLS_GET_UINT32_LE( input, 4 ); t.X[1] ^= *RK++; in mbedtls_internal_aes_decrypt()
919 t.X[2] = MBEDTLS_GET_UINT32_LE( input, 8 ); t.X[2] ^= *RK++; in mbedtls_internal_aes_decrypt()
920 t.X[3] = MBEDTLS_GET_UINT32_LE( input, 12 ); t.X[3] ^= *RK++; in mbedtls_internal_aes_decrypt()

Completed in 14 milliseconds