Lines Matching defs:in
9 * Redistribution and use in source and binary forms, with or without
16 * 2. Redistributions in binary form must reproduce the above copyright
17 * notice, this list of conditions and the following disclaimer in
24 * for use in the OpenSSL Toolkit. (http://www.OpenSSL.org/)"
32 * nor may "OpenSSL" appear in their names without prior written
38 * for use in the OpenSSL Toolkit (http://www.OpenSSL.org/)"
75 /* Number of bytes in last block: -1 means context not initialised */
135 int CMAC_CTX_copy(CMAC_CTX *out, const CMAC_CTX *in)
138 if (in->nlast_block == -1)
140 if (!EVP_CIPHER_CTX_copy(&out->cctx, &in->cctx))
142 bl = EVP_CIPHER_CTX_block_size(&in->cctx);
143 memcpy(out->k1, in->k1, bl);
144 memcpy(out->k2, in->k2, bl);
145 memcpy(out->tbl, in->tbl, bl);
146 memcpy(out->last_block, in->last_block, bl);
147 out->nlast_block = in->nlast_block;
164 * Other algorithm blocking will be done in FIPS_cmac_init, via
210 int CMAC_Update(CMAC_CTX *ctx, const void *in, size_t dlen)
212 const unsigned char *data = in;
216 return FIPS_cmac_update(ctx, in, dlen);