Lines Matching refs:sctx
23 SIV128_CONTEXT *sctx = &ctx->siv; in aes_siv_initkey() local
55 return ossl_siv128_init(sctx, key, klen, ctx->cbc, ctx->ctr, libctx, in aes_siv_initkey()
80 SIV128_CONTEXT *sctx = &ctx->siv; in aes_siv_settag() local
82 return ossl_siv128_set_tag(sctx, tag, tagl); in aes_siv_settag()
88 SIV128_CONTEXT *sctx = &ctx->siv; in aes_siv_setspeed() local
90 ossl_siv128_speed(sctx, (int)speed); in aes_siv_setspeed()
96 SIV128_CONTEXT *sctx = &ctx->siv; in aes_siv_cleanup() local
98 ossl_siv128_cleanup(sctx); in aes_siv_cleanup()
107 SIV128_CONTEXT *sctx = &ctx->siv; in aes_siv_cipher() local
111 return ossl_siv128_finish(sctx) == 0; in aes_siv_cipher()
115 return (ossl_siv128_aad(sctx, in, len) == 1); in aes_siv_cipher()
118 return ossl_siv128_encrypt(sctx, in, out, len) > 0; in aes_siv_cipher()
120 return ossl_siv128_decrypt(sctx, in, out, len) > 0; in aes_siv_cipher()