Home | History | Annotate | Download | only in cmac

Lines Matching refs:cipher_ctx

60   EVP_CIPHER_CTX cipher_ctx;
72 EVP_CIPHER_CTX_init(&ctx->cipher_ctx);
76 EVP_CIPHER_CTX_cleanup(&ctx->cipher_ctx);
151 !EVP_EncryptInit_ex(&ctx->cipher_ctx, cipher, NULL, key, kZeroIV) ||
152 !EVP_Cipher(&ctx->cipher_ctx, scratch, kZeroIV, AES_BLOCK_SIZE) ||
154 !EVP_EncryptInit_ex(&ctx->cipher_ctx, NULL, NULL, NULL, kZeroIV)) {
167 return EVP_EncryptInit_ex(&ctx->cipher_ctx, NULL, NULL, NULL, kZeroIV);
195 if (!EVP_Cipher(&ctx->cipher_ctx, scratch, ctx->block, AES_BLOCK_SIZE)) {
202 if (!EVP_Cipher(&ctx->cipher_ctx, scratch, in, AES_BLOCK_SIZE)) {
238 return EVP_Cipher(&ctx->cipher_ctx, out, out, AES_BLOCK_SIZE);