Searched refs:MBEDTLS_ARIA_BLOCKSIZE (Results 1 – 3 of 3) sorted by relevance
/mbedtls-3.7.0/library/ |
D | aria.c | 442 const unsigned char input[MBEDTLS_ARIA_BLOCKSIZE], in mbedtls_aria_crypt_ecb() argument 443 unsigned char output[MBEDTLS_ARIA_BLOCKSIZE]) in mbedtls_aria_crypt_ecb() argument 515 unsigned char iv[MBEDTLS_ARIA_BLOCKSIZE], in mbedtls_aria_crypt_cbc() argument 519 unsigned char temp[MBEDTLS_ARIA_BLOCKSIZE]; in mbedtls_aria_crypt_cbc() 525 if (length % MBEDTLS_ARIA_BLOCKSIZE) { in mbedtls_aria_crypt_cbc() 531 memcpy(temp, input, MBEDTLS_ARIA_BLOCKSIZE); in mbedtls_aria_crypt_cbc() 534 mbedtls_xor(output, output, iv, MBEDTLS_ARIA_BLOCKSIZE); in mbedtls_aria_crypt_cbc() 536 memcpy(iv, temp, MBEDTLS_ARIA_BLOCKSIZE); in mbedtls_aria_crypt_cbc() 538 input += MBEDTLS_ARIA_BLOCKSIZE; in mbedtls_aria_crypt_cbc() 539 output += MBEDTLS_ARIA_BLOCKSIZE; in mbedtls_aria_crypt_cbc() [all …]
|
/mbedtls-3.7.0/include/mbedtls/ |
D | aria.h | 31 #define MBEDTLS_ARIA_BLOCKSIZE 16 /**< ARIA block size in bytes. */ macro 55 uint32_t MBEDTLS_PRIVATE(rk)[MBEDTLS_ARIA_MAX_ROUNDS + 1][MBEDTLS_ARIA_BLOCKSIZE / 4]; 143 const unsigned char input[MBEDTLS_ARIA_BLOCKSIZE], 144 unsigned char output[MBEDTLS_ARIA_BLOCKSIZE]); 191 unsigned char iv[MBEDTLS_ARIA_BLOCKSIZE], 242 unsigned char iv[MBEDTLS_ARIA_BLOCKSIZE], 324 unsigned char nonce_counter[MBEDTLS_ARIA_BLOCKSIZE], 325 unsigned char stream_block[MBEDTLS_ARIA_BLOCKSIZE],
|
/mbedtls-3.7.0/tests/suites/ |
D | test_suite_aria.function | 10 #define ARIA_BLOCK_STR (2 * MBEDTLS_ARIA_BLOCKSIZE + 1) 23 unsigned char input[MBEDTLS_ARIA_BLOCKSIZE] = { 0 }; 24 unsigned char output[MBEDTLS_ARIA_BLOCKSIZE] = { 0 }; 25 unsigned char iv[MBEDTLS_ARIA_BLOCKSIZE] = { 0 }; 77 for (i = 0; i < src_str->len; i += MBEDTLS_ARIA_BLOCKSIZE) { 105 for (i = 0; i < src_str->len; i += MBEDTLS_ARIA_BLOCKSIZE) { 227 unsigned char blk[MBEDTLS_ARIA_BLOCKSIZE]; 253 unsigned char blk[MBEDTLS_ARIA_BLOCKSIZE];
|