/AliOS-Things-master/components/linksdk/components/ota/ |
A D | ota_md5.c | 7 #ifndef GET_UINT32_LE 70 GET_UINT32_LE(X[ 0], data, 0); in utils_internal_md5_process() 71 GET_UINT32_LE(X[ 1], data, 4); in utils_internal_md5_process() 72 GET_UINT32_LE(X[ 2], data, 8); in utils_internal_md5_process() 73 GET_UINT32_LE(X[ 3], data, 12); in utils_internal_md5_process() 74 GET_UINT32_LE(X[ 4], data, 16); in utils_internal_md5_process() 75 GET_UINT32_LE(X[ 5], data, 20); in utils_internal_md5_process() 76 GET_UINT32_LE(X[ 6], data, 24); in utils_internal_md5_process() 77 GET_UINT32_LE(X[ 7], data, 28); in utils_internal_md5_process() 78 GET_UINT32_LE(X[ 8], data, 32); in utils_internal_md5_process() [all …]
|
/AliOS-Things-master/components/mbedtls/library/ |
A D | md4.c | 55 #ifndef GET_UINT32_LE 123 GET_UINT32_LE( X[ 0], data, 0 ); in mbedtls_internal_md4_process() 124 GET_UINT32_LE( X[ 1], data, 4 ); in mbedtls_internal_md4_process() 125 GET_UINT32_LE( X[ 2], data, 8 ); in mbedtls_internal_md4_process() 126 GET_UINT32_LE( X[ 3], data, 12 ); in mbedtls_internal_md4_process() 127 GET_UINT32_LE( X[ 4], data, 16 ); in mbedtls_internal_md4_process() 128 GET_UINT32_LE( X[ 5], data, 20 ); in mbedtls_internal_md4_process() 129 GET_UINT32_LE( X[ 6], data, 24 ); in mbedtls_internal_md4_process() 130 GET_UINT32_LE( X[ 7], data, 28 ); in mbedtls_internal_md4_process() 131 GET_UINT32_LE( X[ 8], data, 32 ); in mbedtls_internal_md4_process() [all …]
|
A D | md5.c | 54 #ifndef GET_UINT32_LE 122 GET_UINT32_LE( X[ 0], data, 0 ); in mbedtls_internal_md5_process() 123 GET_UINT32_LE( X[ 1], data, 4 ); in mbedtls_internal_md5_process() 124 GET_UINT32_LE( X[ 2], data, 8 ); in mbedtls_internal_md5_process() 125 GET_UINT32_LE( X[ 3], data, 12 ); in mbedtls_internal_md5_process() 126 GET_UINT32_LE( X[ 4], data, 16 ); in mbedtls_internal_md5_process() 127 GET_UINT32_LE( X[ 5], data, 20 ); in mbedtls_internal_md5_process() 128 GET_UINT32_LE( X[ 6], data, 24 ); in mbedtls_internal_md5_process() 129 GET_UINT32_LE( X[ 7], data, 28 ); in mbedtls_internal_md5_process() 130 GET_UINT32_LE( X[ 8], data, 32 ); in mbedtls_internal_md5_process() [all …]
|
A D | ripemd160.c | 55 #ifndef GET_UINT32_LE 127 GET_UINT32_LE( X[ 0], data, 0 ); in mbedtls_internal_ripemd160_process() 128 GET_UINT32_LE( X[ 1], data, 4 ); in mbedtls_internal_ripemd160_process() 129 GET_UINT32_LE( X[ 2], data, 8 ); in mbedtls_internal_ripemd160_process() 130 GET_UINT32_LE( X[ 3], data, 12 ); in mbedtls_internal_ripemd160_process() 131 GET_UINT32_LE( X[ 4], data, 16 ); in mbedtls_internal_ripemd160_process() 132 GET_UINT32_LE( X[ 5], data, 20 ); in mbedtls_internal_ripemd160_process() 133 GET_UINT32_LE( X[ 6], data, 24 ); in mbedtls_internal_ripemd160_process() 134 GET_UINT32_LE( X[ 7], data, 28 ); in mbedtls_internal_ripemd160_process() 135 GET_UINT32_LE( X[ 8], data, 32 ); in mbedtls_internal_ripemd160_process() [all …]
|
A D | aria.c | 67 #ifndef GET_UINT32_LE 465 GET_UINT32_LE( w[0][0], key, 0 ); in mbedtls_aria_setkey_enc() 466 GET_UINT32_LE( w[0][1], key, 4 ); in mbedtls_aria_setkey_enc() 467 GET_UINT32_LE( w[0][2], key, 8 ); in mbedtls_aria_setkey_enc() 468 GET_UINT32_LE( w[0][3], key, 12 ); in mbedtls_aria_setkey_enc() 474 GET_UINT32_LE( w[1][1], key, 20 ); in mbedtls_aria_setkey_enc() 479 GET_UINT32_LE( w[1][3], key, 28 ); in mbedtls_aria_setkey_enc() 556 GET_UINT32_LE( a, input, 0 ); in mbedtls_aria_crypt_ecb() 557 GET_UINT32_LE( b, input, 4 ); in mbedtls_aria_crypt_ecb() 558 GET_UINT32_LE( c, input, 8 ); in mbedtls_aria_crypt_ecb() [all …]
|
A D | aes.c | 68 #ifndef GET_UINT32_LE 69 #define GET_UINT32_LE(n,b,i) \ macro 598 GET_UINT32_LE( RK[i], key, i << 2 ); in mbedtls_aes_setkey_enc() 877 GET_UINT32_LE( X0, input, 0 ); X0 ^= *RK++; in mbedtls_internal_aes_encrypt() 878 GET_UINT32_LE( X1, input, 4 ); X1 ^= *RK++; in mbedtls_internal_aes_encrypt() 879 GET_UINT32_LE( X2, input, 8 ); X2 ^= *RK++; in mbedtls_internal_aes_encrypt() 880 GET_UINT32_LE( X3, input, 12 ); X3 ^= *RK++; in mbedtls_internal_aes_encrypt() 945 GET_UINT32_LE( X0, input, 0 ); X0 ^= *RK++; in mbedtls_internal_aes_decrypt() 946 GET_UINT32_LE( X1, input, 4 ); X1 ^= *RK++; in mbedtls_internal_aes_decrypt() 947 GET_UINT32_LE( X2, input, 8 ); X2 ^= *RK++; in mbedtls_internal_aes_decrypt() [all …]
|
/AliOS-Things-master/components/linkkit/infra/ |
A D | infra_aes.c | 38 #ifndef GET_UINT32_LE 39 #define GET_UINT32_LE(n, b, i) \ macro 515 GET_UINT32_LE(RK[i], key, i << 2); in infra_aes_setkey_enc() 685 GET_UINT32_LE(X0, input, 0); in infra_aes_internal_aes_encrypt() 687 GET_UINT32_LE(X1, input, 4); in infra_aes_internal_aes_encrypt() 689 GET_UINT32_LE(X2, input, 8); in infra_aes_internal_aes_encrypt() 691 GET_UINT32_LE(X3, input, 12); in infra_aes_internal_aes_encrypt() 743 GET_UINT32_LE(X0, input, 0); in infra_aes_internal_aes_decrypt() 745 GET_UINT32_LE(X1, input, 4); in infra_aes_internal_aes_decrypt() 747 GET_UINT32_LE(X2, input, 8); in infra_aes_internal_aes_decrypt() [all …]
|