Searched refs:last_block (Results 1 – 1 of 1) sorted by relevance
/openssl/crypto/cmac/ |
H A D | cmac.c | 34 unsigned char last_block[EVP_MAX_BLOCK_LENGTH]; member 75 OPENSSL_cleanse(ctx->last_block, EVP_MAX_BLOCK_LENGTH); in CMAC_CTX_cleanup() 106 memcpy(out->last_block, in->last_block, bl); in CMAC_CTX_copy() 199 memcpy(ctx->last_block + ctx->nlast_block, data, nleft); in CMAC_Update() 207 if (EVP_Cipher(ctx->cctx, ctx->tbl, ctx->last_block, bl) <= 0) in CMAC_Update() 242 memcpy(ctx->last_block, data, dlen); in CMAC_Update() 264 out[i] = ctx->last_block[i] ^ ctx->k1[i]; in CMAC_Final() 266 ctx->last_block[lb] = 0x80; in CMAC_Final() 268 memset(ctx->last_block + lb + 1, 0, bl - lb - 1); in CMAC_Final() 270 out[i] = ctx->last_block[i] ^ ctx->k2[i]; in CMAC_Final()
|
Completed in 6 milliseconds