Lines Matching refs:keyenc
130 OCB128_CONTEXT *CRYPTO_ocb128_new(void *keyenc, void *keydec, in CRYPTO_ocb128_new() argument
138 ret = CRYPTO_ocb128_init(octx, keyenc, keydec, encrypt, decrypt, in CRYPTO_ocb128_new()
151 int CRYPTO_ocb128_init(OCB128_CONTEXT *ctx, void *keyenc, void *keydec, in CRYPTO_ocb128_init() argument
169 ctx->keyenc = keyenc; in CRYPTO_ocb128_init()
173 ctx->encrypt(ctx->l_star.c, ctx->l_star.c, ctx->keyenc); in CRYPTO_ocb128_init()
195 void *keyenc, void *keydec) in CRYPTO_ocb128_copy_ctx() argument
198 if (keyenc) in CRYPTO_ocb128_copy_ctx()
199 dest->keyenc = keyenc; in CRYPTO_ocb128_copy_ctx()
240 ctx->encrypt(tmp, ktop, ctx->keyenc); in CRYPTO_ocb128_setiv()
290 ctx->encrypt(tmp.c, tmp.c, ctx->keyenc); in CRYPTO_ocb128_aad()
312 ctx->encrypt(tmp.c, tmp.c, ctx->keyenc); in CRYPTO_ocb128_aad()
352 ctx->stream(in, out, num_blocks, ctx->keyenc, in CRYPTO_ocb128_encrypt()
375 ctx->encrypt(tmp.c, tmp.c, ctx->keyenc); in CRYPTO_ocb128_encrypt()
396 ctx->encrypt(ctx->sess.offset.c, pad.c, ctx->keyenc); in CRYPTO_ocb128_encrypt()
488 ctx->encrypt(ctx->sess.offset.c, pad.c, ctx->keyenc); in CRYPTO_ocb128_decrypt()
519 ctx->encrypt(tmp.c, tmp.c, ctx->keyenc); in ocb_finish()