Home
last modified time | relevance | path

Searched refs:iv_set (Results 1 – 15 of 15) sorted by relevance

/freebsd/crypto/openssl/crypto/evp/
H A De_aria.c35 int iv_set; /* Set if an iv is set */ member
51 int iv_set; /* Set if an iv is set */ member
240 if (iv == NULL && gctx->iv_set) in aria_gcm_init_key()
244 gctx->iv_set = 1; in aria_gcm_init_key()
253 gctx->iv_set = 1; in aria_gcm_init_key()
266 gctx->iv_set = 0; in aria_gcm_ctrl()
338 gctx->iv_set = 1; in aria_gcm_ctrl()
347 gctx->iv_set = 1; in aria_gcm_ctrl()
449 gctx->iv_set = 0; in aria_gcm_tls_cipher()
466 if (!gctx->iv_set) in aria_gcm_cipher()
[all …]
H A De_aes.c50 int iv_set; /* Set if an iv is set */ member
86 int iv_set; /* Set if an iv is set */ member
106 int iv_set; /* Set if an iv is set */ member
243 if (iv == NULL && gctx->iv_set) in aesni_gcm_init_key()
247 gctx->iv_set = 1; in aesni_gcm_init_key()
256 gctx->iv_set = 1; in aesni_gcm_init_key()
348 cctx->iv_set = 1; in aesni_ccm_init_key()
393 if (iv == NULL && octx->iv_set) in aesni_ocb_init_key()
399 octx->iv_set = 1; in aesni_ocb_init_key()
408 octx->iv_set = 1; in aesni_ocb_init_key()
[all …]
/freebsd/crypto/openssl/providers/implementations/ciphers/
H A Dciphercommon_ccm.c114 ctx->iv_set = 0; in ossl_ccm_set_ctx_params()
219 ctx->iv_set = 0; in ossl_ccm_get_ctx_params()
242 ctx->iv_set = 1; in ccm_init()
302 || (ctx->iv_set && (!ctx->enc || !ctx->tag_set) in ossl_ccm_stream_final()
410 if (!ctx->iv_set) in ccm_cipher_internal()
441 ctx->iv_set = 0; in ccm_cipher_internal()
458 ctx->iv_set = 0; in ossl_ccm_initctx()
H A Dcipher_aes_xts.h53 unsigned int iv_set : 1; member
H A Dcipher_aes_xts_s390x.inc49 xctx->plat.s390x.iv_set = 1;
121 || !xctx->plat.s390x.iv_set
H A Dcipher_chacha20_hw.c33 if (bctx->iv_set) { in chacha20_initiv()
H A Dcipher_tdes_common.c91 } else if (ctx->iv_set in tdes_init()
H A Dcipher_des.c87 } else if (ctx->iv_set) { in des_init()
H A Dciphercommon.c206 if (iv == NULL && ctx->iv_set in cipher_generic_init_internal()
711 ctx->iv_set = 1; in ossl_cipher_generic_initiv()
H A Dcipher_aes_xts.c189 || !ctx->base.iv_set in aes_xts_cipher()
H A Dcipher_sm4_xts.c129 || !ctx->base.iv_set in sm4_xts_cipher()
H A Dcipher_aes_wrp.c211 rv = wctx->wrapfn(&wctx->ks.ks, ctx->iv_set ? ctx->iv : NULL, out, in, in aes_wrap_cipher_internal()
H A Dcipher_chacha20_poly1305_hw.c101 bctx->iv_set = 1; in chacha20_poly1305_initiv()
/freebsd/crypto/openssl/providers/implementations/include/prov/
H A Dciphercommon_ccm.h37 unsigned int iv_set : 1; /* Set if an iv is set */ member
H A Dciphercommon.h71 unsigned int iv_set : 1; /* Set when the iv is copied to the iv/oiv buffers */ member