/openthread-3.6.0/third_party/mbedtls/repo/library/ |
D | chacha20.c | 205 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 …]
|
D | md4.c | 98 local.X[ 0] = MBEDTLS_GET_UINT32_LE( data, 0 ); in mbedtls_internal_md4_process() 99 local.X[ 1] = MBEDTLS_GET_UINT32_LE( data, 4 ); in mbedtls_internal_md4_process() 100 local.X[ 2] = MBEDTLS_GET_UINT32_LE( data, 8 ); in mbedtls_internal_md4_process() 101 local.X[ 3] = MBEDTLS_GET_UINT32_LE( data, 12 ); in mbedtls_internal_md4_process() 102 local.X[ 4] = MBEDTLS_GET_UINT32_LE( data, 16 ); in mbedtls_internal_md4_process() 103 local.X[ 5] = MBEDTLS_GET_UINT32_LE( data, 20 ); in mbedtls_internal_md4_process() 104 local.X[ 6] = MBEDTLS_GET_UINT32_LE( data, 24 ); in mbedtls_internal_md4_process() 105 local.X[ 7] = MBEDTLS_GET_UINT32_LE( data, 28 ); in mbedtls_internal_md4_process() 106 local.X[ 8] = MBEDTLS_GET_UINT32_LE( data, 32 ); in mbedtls_internal_md4_process() 107 local.X[ 9] = MBEDTLS_GET_UINT32_LE( data, 36 ); in mbedtls_internal_md4_process() [all …]
|
D | poly1305.c | 125 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() 284 ctx->r[3] = MBEDTLS_GET_UINT32_LE( key, 12 ) & 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() [all …]
|
D | md5.c | 97 local.X[ 0] = MBEDTLS_GET_UINT32_LE( data, 0 ); in mbedtls_internal_md5_process() 98 local.X[ 1] = MBEDTLS_GET_UINT32_LE( data, 4 ); in mbedtls_internal_md5_process() 99 local.X[ 2] = MBEDTLS_GET_UINT32_LE( data, 8 ); in mbedtls_internal_md5_process() 100 local.X[ 3] = MBEDTLS_GET_UINT32_LE( data, 12 ); in mbedtls_internal_md5_process() 101 local.X[ 4] = MBEDTLS_GET_UINT32_LE( data, 16 ); in mbedtls_internal_md5_process() 102 local.X[ 5] = MBEDTLS_GET_UINT32_LE( data, 20 ); in mbedtls_internal_md5_process() 103 local.X[ 6] = MBEDTLS_GET_UINT32_LE( data, 24 ); in mbedtls_internal_md5_process() 104 local.X[ 7] = MBEDTLS_GET_UINT32_LE( data, 28 ); in mbedtls_internal_md5_process() 105 local.X[ 8] = MBEDTLS_GET_UINT32_LE( data, 32 ); in mbedtls_internal_md5_process() 106 local.X[ 9] = MBEDTLS_GET_UINT32_LE( data, 36 ); in mbedtls_internal_md5_process() [all …]
|
D | ripemd160.c | 102 local.X[ 0] = MBEDTLS_GET_UINT32_LE( data, 0 ); in mbedtls_internal_ripemd160_process() 103 local.X[ 1] = MBEDTLS_GET_UINT32_LE( data, 4 ); in mbedtls_internal_ripemd160_process() 104 local.X[ 2] = MBEDTLS_GET_UINT32_LE( data, 8 ); in mbedtls_internal_ripemd160_process() 105 local.X[ 3] = MBEDTLS_GET_UINT32_LE( data, 12 ); in mbedtls_internal_ripemd160_process() 106 local.X[ 4] = MBEDTLS_GET_UINT32_LE( data, 16 ); in mbedtls_internal_ripemd160_process() 107 local.X[ 5] = MBEDTLS_GET_UINT32_LE( data, 20 ); in mbedtls_internal_ripemd160_process() 108 local.X[ 6] = MBEDTLS_GET_UINT32_LE( data, 24 ); in mbedtls_internal_ripemd160_process() 109 local.X[ 7] = MBEDTLS_GET_UINT32_LE( data, 28 ); in mbedtls_internal_ripemd160_process() 110 local.X[ 8] = MBEDTLS_GET_UINT32_LE( data, 32 ); in mbedtls_internal_ripemd160_process() 111 local.X[ 9] = MBEDTLS_GET_UINT32_LE( data, 36 ); in mbedtls_internal_ripemd160_process() [all …]
|
D | aria.c | 437 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() 450 w[1][2] = MBEDTLS_GET_UINT32_LE( key, 24 ); // 256 bit key 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() [all …]
|
D | psa_crypto_storage.c | 294 version = MBEDTLS_GET_UINT32_LE( storage_format->version, 0 ); in psa_parse_key_data_from_storage() 298 *key_data_length = MBEDTLS_GET_UINT32_LE( storage_format->data_len, 0 ); in psa_parse_key_data_from_storage() 315 attr->lifetime = MBEDTLS_GET_UINT32_LE( storage_format->lifetime, 0 ); in psa_parse_key_data_from_storage() 318 attr->policy.usage = MBEDTLS_GET_UINT32_LE( storage_format->policy, 0 ); in psa_parse_key_data_from_storage() 319 attr->policy.alg = MBEDTLS_GET_UINT32_LE( storage_format->policy, sizeof( uint32_t ) ); in psa_parse_key_data_from_storage() 320 attr->policy.alg2 = MBEDTLS_GET_UINT32_LE( storage_format->policy, 2 * sizeof( uint32_t ) ); in psa_parse_key_data_from_storage()
|
D | common.h | 116 #ifndef MBEDTLS_GET_UINT32_LE 117 #define MBEDTLS_GET_UINT32_LE( data, offset ) \ macro
|
D | aes.c | 570 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() 926 t.X[0] = MBEDTLS_GET_UINT32_LE( input, 0 ); t.X[0] ^= *RK++; in mbedtls_internal_aes_decrypt() 927 t.X[1] = MBEDTLS_GET_UINT32_LE( input, 4 ); t.X[1] ^= *RK++; in mbedtls_internal_aes_decrypt() 928 t.X[2] = MBEDTLS_GET_UINT32_LE( input, 8 ); t.X[2] ^= *RK++; in mbedtls_internal_aes_decrypt() 929 t.X[3] = MBEDTLS_GET_UINT32_LE( input, 12 ); t.X[3] ^= *RK++; in mbedtls_internal_aes_decrypt()
|