Home
last modified time | relevance | path

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

12

/third_party/openssl/crypto/evp/
De_aria.c35 int iv_set; /* Set if an iv is set */ member
51 int iv_set; /* Set if an iv is set */ member
237 if (iv == NULL && gctx->iv_set) in aria_gcm_init_key()
241 gctx->iv_set = 1; in aria_gcm_init_key()
250 gctx->iv_set = 1; in aria_gcm_init_key()
263 gctx->iv_set = 0; in aria_gcm_ctrl()
337 gctx->iv_set = 1; in aria_gcm_ctrl()
346 gctx->iv_set = 1; in aria_gcm_ctrl()
453 gctx->iv_set = 0; in aria_gcm_tls_cipher()
470 if (!gctx->iv_set) in aria_gcm_cipher()
[all …]
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
237 if (iv == NULL && gctx->iv_set) in aesni_gcm_init_key()
241 gctx->iv_set = 1; in aesni_gcm_init_key()
250 gctx->iv_set = 1; in aesni_gcm_init_key()
331 cctx->iv_set = 1; in aesni_ccm_init_key()
371 if (iv == NULL && octx->iv_set) in aesni_ocb_init_key()
377 octx->iv_set = 1; in aesni_ocb_init_key()
386 octx->iv_set = 1; in aesni_ocb_init_key()
[all …]
/third_party/node/deps/openssl/openssl/crypto/evp/
De_aria.c35 int iv_set; /* Set if an iv is set */ member
51 int iv_set; /* Set if an iv is set */ member
237 if (iv == NULL && gctx->iv_set) in aria_gcm_init_key()
241 gctx->iv_set = 1; in aria_gcm_init_key()
250 gctx->iv_set = 1; in aria_gcm_init_key()
263 gctx->iv_set = 0; in aria_gcm_ctrl()
337 gctx->iv_set = 1; in aria_gcm_ctrl()
346 gctx->iv_set = 1; in aria_gcm_ctrl()
453 gctx->iv_set = 0; in aria_gcm_tls_cipher()
470 if (!gctx->iv_set) in aria_gcm_cipher()
[all …]
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
237 if (iv == NULL && gctx->iv_set) in aesni_gcm_init_key()
241 gctx->iv_set = 1; in aesni_gcm_init_key()
250 gctx->iv_set = 1; in aesni_gcm_init_key()
331 cctx->iv_set = 1; in aesni_ccm_init_key()
371 if (iv == NULL && octx->iv_set) in aesni_ocb_init_key()
377 octx->iv_set = 1; in aesni_ocb_init_key()
386 octx->iv_set = 1; in aesni_ocb_init_key()
[all …]
/third_party/node/deps/openssl/openssl/providers/implementations/ciphers/
Dciphercommon_ccm.c216 ctx->iv_set = 0; in ossl_ccm_get_ctx_params()
239 ctx->iv_set = 1; in ccm_init()
398 if (!ctx->iv_set) in ccm_cipher_internal()
429 ctx->iv_set = 0; in ccm_cipher_internal()
446 ctx->iv_set = 0; in ossl_ccm_initctx()
Dcipher_chacha20_hw.c33 if (bctx->iv_set) { in chacha20_initiv()
Dcipher_tdes_common.c80 } else if (ctx->iv_set in tdes_init()
Dcipher_des.c89 } else if (ctx->iv_set) { in des_init()
Dciphercommon.c202 if (iv == NULL && ctx->iv_set in cipher_generic_init_internal()
654 ctx->iv_set = 1; in ossl_cipher_generic_initiv()
Dcipher_aes_xts.c165 || !ctx->base.iv_set in aes_xts_cipher()
Dcipher_aes_wrp.c189 rv = wctx->wrapfn(&wctx->ks.ks, ctx->iv_set ? ctx->iv : NULL, out, in, in aes_wrap_cipher_internal()
/third_party/openssl/providers/implementations/ciphers/
Dciphercommon_ccm.c216 ctx->iv_set = 0; in ossl_ccm_get_ctx_params()
239 ctx->iv_set = 1; in ccm_init()
398 if (!ctx->iv_set) in ccm_cipher_internal()
429 ctx->iv_set = 0; in ccm_cipher_internal()
446 ctx->iv_set = 0; in ossl_ccm_initctx()
Dcipher_chacha20_hw.c33 if (bctx->iv_set) { in chacha20_initiv()
Dcipher_tdes_common.c80 } else if (ctx->iv_set in tdes_init()
Dcipher_des.c89 } else if (ctx->iv_set) { in des_init()
Dciphercommon.c202 if (iv == NULL && ctx->iv_set in cipher_generic_init_internal()
654 ctx->iv_set = 1; in ossl_cipher_generic_initiv()
Dcipher_aes_xts.c165 || !ctx->base.iv_set in aes_xts_cipher()
Dcipher_aes_wrp.c189 rv = wctx->wrapfn(&wctx->ks.ks, ctx->iv_set ? ctx->iv : NULL, out, in, in aes_wrap_cipher_internal()
Dcipher_chacha20_poly1305_hw.c101 bctx->iv_set = 1; in chacha20_poly1305_initiv()
/third_party/openssl/providers/implementations/include/prov/
Dciphercommon_ccm.h33 unsigned int iv_set : 1; /* Set if an iv is set */ member
Dciphercommon.h60 unsigned int iv_set : 1; /* Set when the iv is copied to the iv/oiv buffers */ member
/third_party/node/deps/openssl/openssl/providers/implementations/include/prov/
Dciphercommon_ccm.h33 unsigned int iv_set : 1; /* Set if an iv is set */ member
Dciphercommon.h60 unsigned int iv_set : 1; /* Set when the iv is copied to the iv/oiv buffers */ member
/third_party/mbedtls/include/psa/
Dcrypto_struct.h110 unsigned int MBEDTLS_PRIVATE(iv_set) : 1;
/third_party/mbedtls/library/
Dpsa_crypto.c3952 operation->iv_set = 0; in psa_cipher_setup()
4014 if (operation->iv_set || !operation->iv_required) { in psa_cipher_generate_iv()
4042 operation->iv_set = 1; in psa_cipher_generate_iv()
4062 if (operation->iv_set || !operation->iv_required) { in psa_cipher_set_iv()
4078 operation->iv_set = 1; in psa_cipher_set_iv()
4099 if (operation->iv_required && !operation->iv_set) { in psa_cipher_update()
4130 if (operation->iv_required && !operation->iv_set) { in psa_cipher_finish()
4163 operation->iv_set = 0; in psa_cipher_abort()

12