Lines Matching refs:first

58 				int rounds, int blocks, int first);
60 int rounds, int blocks, int first);
63 int rounds, int blocks, u8 iv[], int first);
65 int rounds, int blocks, u8 iv[], int first);
68 int rounds, int blocks, u8 ctr[], int first);
72 int first);
75 int first);
103 int err, first, rounds = 6 + ctx->key_length / 4; in ecb_encrypt() local
112 for (first = 1; (blocks = (walk.nbytes / AES_BLOCK_SIZE)); first = 0) { in ecb_encrypt()
114 (u8 *)ctx->key_enc, rounds, blocks, first); in ecb_encrypt()
125 int err, first, rounds = 6 + ctx->key_length / 4; in ecb_decrypt() local
134 for (first = 1; (blocks = (walk.nbytes / AES_BLOCK_SIZE)); first = 0) { in ecb_decrypt()
136 (u8 *)ctx->key_dec, rounds, blocks, first); in ecb_decrypt()
147 int err, first, rounds = 6 + ctx->key_length / 4; in cbc_encrypt() local
156 for (first = 1; (blocks = (walk.nbytes / AES_BLOCK_SIZE)); first = 0) { in cbc_encrypt()
159 first); in cbc_encrypt()
170 int err, first, rounds = 6 + ctx->key_length / 4; in cbc_decrypt() local
179 for (first = 1; (blocks = (walk.nbytes / AES_BLOCK_SIZE)); first = 0) { in cbc_decrypt()
182 first); in cbc_decrypt()
193 int err, first, rounds = 6 + ctx->key_length / 4; in ctr_encrypt() local
201 first = 1; in ctr_encrypt()
206 first); in ctr_encrypt()
207 first = 0; in ctr_encrypt()
226 blocks, walk.iv, first); in ctr_encrypt()
239 int err, first, rounds = 6 + ctx->key1.key_length / 4; in xts_encrypt() local
248 for (first = 1; (blocks = (walk.nbytes / AES_BLOCK_SIZE)); first = 0) { in xts_encrypt()
251 (u8 *)ctx->key2.key_enc, walk.iv, first); in xts_encrypt()
263 int err, first, rounds = 6 + ctx->key1.key_length / 4; in xts_decrypt() local
272 for (first = 1; (blocks = (walk.nbytes / AES_BLOCK_SIZE)); first = 0) { in xts_decrypt()
275 (u8 *)ctx->key2.key_enc, walk.iv, first); in xts_decrypt()