Lines Matching full:in

6  *  Redistribution and use in source and binary forms, with or without
12 * - Redistributions in binary form must reproduce the above copyright
13 * notice, this list of conditions and the following disclaimer in the
23 * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
27 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
29 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
37 * Overview: AES-128 is a NIST approved block cipher specified in
39 * perform a transformation specified by a symmetric key in fixed-
76 * @param s IN/OUT -- initialized struct tc_aes_key_sched_struct
77 * @param k IN -- points to the AES key
83 * Encrypts contents of in buffer into out buffer under key;
86 * out and in point to 16 byte buffers
88 * returns TC_CRYPTO_FAIL (0) if: out == NULL or in == NULL or s == NULL
89 * @param out IN/OUT -- buffer to receive ciphertext block
90 * @param in IN -- a plaintext block to encrypt
91 * @param s IN -- initialized AES key schedule
93 int tc_aes_encrypt(uint8_t *out, const uint8_t *in,
102 * using the cipher documented in FIPS-197 figure 12, not the
103 * equivalent inverse cipher presented in Figure 15
107 * @param s IN/OUT -- initialized struct tc_aes_key_sched_struct
108 * @param k IN -- points to the AES key
114 * Decrypts in buffer into out buffer under key schedule s
116 * returns TC_CRYPTO_FAIL (0) if: out is NULL or in is NULL or s is NULL
118 * out and in point to 16 byte buffers
119 * @param out IN/OUT -- buffer to receive ciphertext block
120 * @param in IN -- a plaintext block to encrypt
121 * @param s IN -- initialized AES key schedule
123 int tc_aes_decrypt(uint8_t *out, const uint8_t *in,