Home
last modified time | relevance | path

Searched refs:iv_gen (Results 1 – 9 of 9) sorted by relevance

/third_party/openssl/test/
Daesgcmtest.c38 static int do_encrypt(unsigned char *iv_gen, unsigned char *ct, int *ct_len, in do_encrypt() argument
51 iv_gen != NULL ? NULL : gcm_iv) > 0) in do_encrypt()
60 && TEST_true(iv_gen == NULL in do_encrypt()
61 || EVP_CIPHER_CTX_get_original_iv(ctx, iv_gen, 12)); in do_encrypt()
121 unsigned char iv_gen[16]; in ivgen_test() local
126 return do_encrypt(iv_gen, ct, &ctlen, tag, &taglen) in ivgen_test()
127 && do_decrypt(iv_gen, ct, ctlen, tag, taglen); in ivgen_test()
/third_party/openssl/crypto/evp/
De_aria.c40 int iv_gen; /* It is OK to generate IVs */ member
251 gctx->iv_gen = 0; in aria_gcm_init_key()
267 gctx->iv_gen = 0; in aria_gcm_ctrl()
308 gctx->iv_gen = 1; in aria_gcm_ctrl()
322 gctx->iv_gen = 1; in aria_gcm_ctrl()
326 if (gctx->iv_gen == 0 || gctx->key_set == 0) in aria_gcm_ctrl()
341 if (gctx->iv_gen == 0 || gctx->key_set == 0 in aria_gcm_ctrl()
De_aes.c55 int iv_gen; /* It is OK to generate IVs */ member
251 gctx->iv_gen = 0; in aesni_gcm_init_key()
587 gctx->iv_gen = 0; in aes_t4_gcm_init_key()
890 int iv_gen; member
1368 gctx->iv_gen = 0; in s390x_aes_gcm_ctrl()
1422 gctx->iv_gen = 1; in s390x_aes_gcm_ctrl()
1439 gctx->iv_gen = 1; in s390x_aes_gcm_ctrl()
1443 if (gctx->iv_gen == 0 || gctx->key_set == 0) in s390x_aes_gcm_ctrl()
1462 if (gctx->iv_gen == 0 || gctx->key_set == 0 || enc) in s390x_aes_gcm_ctrl()
1557 gctx->iv_gen = 0; in s390x_aes_gcm_init_key()
[all …]
/third_party/node/deps/openssl/openssl/crypto/evp/
De_aria.c40 int iv_gen; /* It is OK to generate IVs */ member
251 gctx->iv_gen = 0; in aria_gcm_init_key()
267 gctx->iv_gen = 0; in aria_gcm_ctrl()
308 gctx->iv_gen = 1; in aria_gcm_ctrl()
322 gctx->iv_gen = 1; in aria_gcm_ctrl()
326 if (gctx->iv_gen == 0 || gctx->key_set == 0) in aria_gcm_ctrl()
341 if (gctx->iv_gen == 0 || gctx->key_set == 0 in aria_gcm_ctrl()
De_aes.c55 int iv_gen; /* It is OK to generate IVs */ member
251 gctx->iv_gen = 0; in aesni_gcm_init_key()
587 gctx->iv_gen = 0; in aes_t4_gcm_init_key()
890 int iv_gen; member
1368 gctx->iv_gen = 0; in s390x_aes_gcm_ctrl()
1422 gctx->iv_gen = 1; in s390x_aes_gcm_ctrl()
1439 gctx->iv_gen = 1; in s390x_aes_gcm_ctrl()
1443 if (gctx->iv_gen == 0 || gctx->key_set == 0) in s390x_aes_gcm_ctrl()
1462 if (gctx->iv_gen == 0 || gctx->key_set == 0 || enc) in s390x_aes_gcm_ctrl()
1557 gctx->iv_gen = 0; in s390x_aes_gcm_init_key()
[all …]
/third_party/openssl/providers/implementations/ciphers/
Dciphercommon_gcm.c113 if (!ctx->iv_gen in getivgen()
131 if (!ctx->iv_gen in setivinv()
483 ctx->iv_gen = 1; in gcm_tls_iv_set_fixed()
496 ctx->iv_gen = 1; in gcm_tls_iv_set_fixed()
/third_party/node/deps/openssl/openssl/providers/implementations/ciphers/
Dciphercommon_gcm.c113 if (!ctx->iv_gen in getivgen()
131 if (!ctx->iv_gen in setivinv()
483 ctx->iv_gen = 1; in gcm_tls_iv_set_fixed()
496 ctx->iv_gen = 1; in gcm_tls_iv_set_fixed()
/third_party/node/deps/openssl/openssl/providers/implementations/include/prov/
Dciphercommon_gcm.h69 unsigned int iv_gen:1; /* It is OK to generate IVs */ member
/third_party/openssl/providers/implementations/include/prov/
Dciphercommon_gcm.h69 unsigned int iv_gen:1; /* It is OK to generate IVs */ member