Lines Matching refs:in
14 of conditions and the following disclaimer in their documentation;
22 in respect of its properties, including, but not limited to, correctness
75 /* functions for finite field multiplication in the AES Galois field */
287 /* The forward and inverse affine transformations used in the S-box */
538 be entered as a length in bytes (valid inputs are hence
548 case 128: /* length in bits (128 = 8*16) */
552 case 192: /* length in bits (192 = 8*24) */
556 /* case 256: length in bits (256 = 8*32) */
601 return_type aes_encrypt(const unsigned char in[N_BLOCK],
605 copy_and_key(s1, in, ctx->ksch);
629 return_type aes_cbc_encrypt(const unsigned char* in, unsigned char* out,
633 xor_block(iv, in);
636 in += N_BLOCK;
648 return_type aes_decrypt(const unsigned char in[N_BLOCK],
652 copy_and_key(s1, in, ctx->ksch + ctx->rnd * N_BLOCK);
676 return_type aes_cbc_decrypt(const unsigned char* in, unsigned char* out,
682 memcpy(tmp, in, N_BLOCK);
683 if (aes_decrypt(in, out, ctx) != EXIT_SUCCESS) return EXIT_FAILURE;
686 in += N_BLOCK;
717 void aes_encrypt_128(const unsigned char in[N_BLOCK],
724 copy_and_key(s1, in, o_key);
771 void aes_decrypt_128(const unsigned char in[N_BLOCK],
778 copy_and_key(s1, in, o_key);
837 void aes_encrypt_256(const unsigned char in[N_BLOCK],
846 copy_and_key(s1, in, o_key);
915 void aes_decrypt_256(const unsigned char in[N_BLOCK],
926 copy_and_key(s1, in, o_key);