Searched refs:CAMELLIA_BLOCK_SIZE (Results 1 – 6 of 6) sorted by relevance
/external/openssl/crypto/camellia/ |
D | cmll_cbc.c | 71 union { u32 t32[CAMELLIA_BLOCK_SIZE/sizeof(u32)]; in Camellia_cbc_encrypt() 72 u8 t8 [CAMELLIA_BLOCK_SIZE]; } tmp; in Camellia_cbc_encrypt() 83 while (len >= CAMELLIA_BLOCK_SIZE) in Camellia_cbc_encrypt() 93 len -= CAMELLIA_BLOCK_SIZE; in Camellia_cbc_encrypt() 94 in += CAMELLIA_BLOCK_SIZE; in Camellia_cbc_encrypt() 95 out += CAMELLIA_BLOCK_SIZE; in Camellia_cbc_encrypt() 101 for(n=len; n < CAMELLIA_BLOCK_SIZE; ++n) in Camellia_cbc_encrypt() 110 memcpy(ivec,iv,CAMELLIA_BLOCK_SIZE); in Camellia_cbc_encrypt() 114 while (len >= CAMELLIA_BLOCK_SIZE) in Camellia_cbc_encrypt() 116 memcpy(out,in,CAMELLIA_BLOCK_SIZE); in Camellia_cbc_encrypt() [all …]
|
D | cmll_cfb.c | 148 n = (n+1) % CAMELLIA_BLOCK_SIZE; in Camellia_cfb128_encrypt() 162 n = (n+1) % CAMELLIA_BLOCK_SIZE; in Camellia_cfb128_encrypt() 176 unsigned char ovec[CAMELLIA_BLOCK_SIZE*2]; in Camellia_cfbr_encrypt_block() 181 memcpy(ovec,ivec,CAMELLIA_BLOCK_SIZE); in Camellia_cfbr_encrypt_block() 187 out[n] = (ovec[CAMELLIA_BLOCK_SIZE+n] = in[n] ^ ivec[n]); in Camellia_cfbr_encrypt_block() 190 out[n] = (ovec[CAMELLIA_BLOCK_SIZE+n] = in[n]) ^ ivec[n]; in Camellia_cfbr_encrypt_block() 195 memcpy(ivec,ovec+num,CAMELLIA_BLOCK_SIZE); in Camellia_cfbr_encrypt_block() 197 for(n=0 ; n < CAMELLIA_BLOCK_SIZE ; ++n) in Camellia_cfbr_encrypt_block()
|
D | cmll_misc.c | 94 u32 tmp[CAMELLIA_BLOCK_SIZE/sizeof(u32)]; in Camellia_encrypt() 97 memcpy(tmp, in, CAMELLIA_BLOCK_SIZE); in Camellia_encrypt() 101 memcpy(out, tmp, CAMELLIA_BLOCK_SIZE); in Camellia_encrypt() 107 u32 tmp[CAMELLIA_BLOCK_SIZE/sizeof(u32)]; in Camellia_decrypt() 110 memcpy(tmp, in, CAMELLIA_BLOCK_SIZE); in Camellia_decrypt() 114 memcpy(out, tmp, CAMELLIA_BLOCK_SIZE); in Camellia_decrypt()
|
D | cmll_ctr.c | 117 unsigned char ivec[CAMELLIA_BLOCK_SIZE], in Camellia_ctr128_encrypt() argument 118 unsigned char ecount_buf[CAMELLIA_BLOCK_SIZE], in Camellia_ctr128_encrypt() argument 126 assert(*num < CAMELLIA_BLOCK_SIZE); in Camellia_ctr128_encrypt() 138 n = (n+1) % CAMELLIA_BLOCK_SIZE; in Camellia_ctr128_encrypt()
|
D | camellia.h | 73 #define CAMELLIA_BLOCK_SIZE 16 macro 120 unsigned char ivec[CAMELLIA_BLOCK_SIZE], 121 unsigned char ecount_buf[CAMELLIA_BLOCK_SIZE],
|
D | cmll_ofb.c | 137 n = (n+1) % CAMELLIA_BLOCK_SIZE; in Camellia_ofb128_encrypt()
|