Home
last modified time | relevance | path

Searched refs:ARIA_BLOCK_SIZE (Results 1 – 2 of 2) sorted by relevance

/freebsd/crypto/openssl/include/crypto/
H A Daria.h26 # define ARIA_BLOCK_SIZE 16 /* Size of each encryption/decryption block */ macro
30 unsigned char c[ARIA_BLOCK_SIZE];
31 unsigned int u[ARIA_BLOCK_SIZE / sizeof(unsigned int)];
34 typedef unsigned char ARIA_c128[ARIA_BLOCK_SIZE];
/freebsd/crypto/openssl/crypto/aria/
H A Daria.c693 memcpy(rk_head, rk_tail, ARIA_BLOCK_SIZE); in ossl_aria_set_decrypt_key()
919 for (i = 0; i < ARIA_BLOCK_SIZE; i++) in xor128()
934 for (i = 0; i < ARIA_BLOCK_SIZE; i++) in rotnr()
935 t.c[(i + bytes) % ARIA_BLOCK_SIZE] = z->c[i]; in rotnr()
936 for (i = 0; i < ARIA_BLOCK_SIZE; i++) in rotnr()
938 (t.c[i ? i - 1 : ARIA_BLOCK_SIZE - 1] << (8 - bits))) ^ in rotnr()
966 rotnr(8 * ARIA_BLOCK_SIZE - 61, o, xor, z); in rot61l()
975 rotnr(8 * ARIA_BLOCK_SIZE - 31, o, xor, z); in rot31l()
984 rotnr(8 * ARIA_BLOCK_SIZE - 19, o, xor, z); in rot19l()
994 for (i = 0; i < ARIA_BLOCK_SIZE; i += 4) { in sl1()
[all …]