Searched refs:RIJNDAEL_BLOCKSIZE (Results 1 - 4 of 4) sorted by relevance

/macosx-10.10/OpenSSH-189/openssh/
H A Dcipher-aes.c42 #define RIJNDAEL_BLOCKSIZE 16 macro
46 u_char r_iv[RIJNDAEL_BLOCKSIZE];
66 memcpy(c->r_iv, iv, RIJNDAEL_BLOCKSIZE);
75 u_char buf[RIJNDAEL_BLOCKSIZE];
77 int i, j, blocks = len / RIJNDAEL_BLOCKSIZE;
81 if (len % RIJNDAEL_BLOCKSIZE)
91 for (i = 0; i < blocks; i++, plain+=RIJNDAEL_BLOCKSIZE,
92 cnow+=RIJNDAEL_BLOCKSIZE) {
93 for (j = 0; j < RIJNDAEL_BLOCKSIZE; j++)
98 memcpy(c->r_iv, cprev, RIJNDAEL_BLOCKSIZE);
[all...]
/macosx-10.10/CPANInternal-159.1/Crypt-Rijndael-1.10/
H A D_rijndael.c33 for (i=0; i<RIJNDAEL_BLOCKSIZE; i++)
326 lastkey = (RIJNDAEL_BLOCKSIZE/4) * (nr + 1);
477 UINT8 block[RIJNDAEL_BLOCKSIZE], block2[RIJNDAEL_BLOCKSIZE], oldptxt;
479 nblocks = inputlen / RIJNDAEL_BLOCKSIZE;
484 rijndael_encrypt(ctx, &input[RIJNDAEL_BLOCKSIZE*i],
485 &output[RIJNDAEL_BLOCKSIZE*i]);
490 memcpy(block, iv, RIJNDAEL_BLOCKSIZE);
492 for (j=0; j<RIJNDAEL_BLOCKSIZE; j++)
493 block[j] ^= input[i*RIJNDAEL_BLOCKSIZE
[all...]
H A DRijndael.xs38 UINT8 iv[RIJNDAEL_BLOCKSIZE];
147 memset(RETVAL->iv, 0, RIJNDAEL_BLOCKSIZE);
165 if( size != RIJNDAEL_BLOCKSIZE )
166 croak( "set_iv: initial value must be the blocksize (%d bytes), but was %d bytes", RIJNDAEL_BLOCKSIZE, size );
167 memcpy(self->iv, rawbytes, RIJNDAEL_BLOCKSIZE);
183 if (size % RIJNDAEL_BLOCKSIZE)
184 croak ("encrypt: datasize not multiple of blocksize (%d bytes)", RIJNDAEL_BLOCKSIZE);
H A Drijndael.h109 #define RIJNDAEL_BLOCKSIZE 16 macro

Completed in 77 milliseconds