Home | History | Annotate | Download | only in keymaster

Lines Matching defs:in

8 / copyright notice and this permission notice appear in all copies.
12 / MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
14 / WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
16 / OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
36 / encrypted in-place), but no other pair of pointers may be equal.
48 #define OCB_KEY_LEN 16 /* 0, 16, 24 or 32. 0 means set in ae_init */
49 #define OCB_TAG_LEN 16 /* 0 to 16. 0 means set in ae_init */
51 /* This implementation has built-in support for multiple AES APIs. Set any
59 / space in ae_ctx), generated as needed (slightly slowing encryption and
62 / are used for L values in ae_ctx. Plaintext and ciphertexts shorter than
67 / will be shorter than 2^(L_TABLE_SZ+4) bytes in length. This results
68 / in better performance. */
91 #define inline __inline /* MSVC doesn't recognize "inline" in C */
92 #define restrict __restrict /* MSVC doesn't recognize "restrict" in C */
103 #define inline __inline__ /* No "inline" in GCC ansi C mode */
104 #define restrict __restrict__ /* No "restrict" in GCC ansi C mode */
116 } in, out;
117 in.u64 = x;
118 out.u32[0] = bswap32(in.u32[1]);
119 out.u32[1] = bswap32(in.u32[0]);
347 /* How to ECB encrypt an array of blocks, in place */
362 #define BPI 4 /* Number of blocks in buffer per ECB call */
408 #define BPI 4 /* Number of blocks in buffer per ECB call */
553 static inline void AES_encrypt(const unsigned char* in, unsigned char* out, const AES_KEY* key) {
556 __m128i tmp = _mm_load_si128((__m128i*)in);
564 static inline void AES_decrypt(const unsigned char* in, unsigned char* out, const AES_KEY* key) {
567 __m128i tmp = _mm_load_si128((__m128i*)in);
599 #define BPI 8 /* Number of blocks in buffer per ECB call */
609 / Each item in the OCB context is stored either "memory correct" or
612 / is in the correct order when it resides in memory or in registers.
668 (void)misc; /* misc unused in this implementation */
1007 k = 0; /* How many blocks in ta[] need ECBing */
1140 /* Reduce ct_len tag bundled in ct */
1225 k = 0; /* How many blocks in ta[] need ECBing */