Searched refs:gcm_iv (Results 1 – 3 of 3) sorted by relevance
/openssl/demos/cipher/ |
H A D | aesgcm.c | 31 static const unsigned char gcm_iv[] = { variable 76 size_t gcm_ivlen = sizeof(gcm_iv); in aes_gcm_encrypt() 106 if (!EVP_EncryptInit_ex2(ctx, cipher, gcm_key, gcm_iv, params)) in aes_gcm_encrypt() 153 size_t gcm_ivlen = sizeof(gcm_iv); in aes_gcm_decrypt() 178 if (!EVP_DecryptInit_ex2(ctx, cipher, gcm_key, gcm_iv, params)) in aes_gcm_decrypt()
|
/openssl/test/ |
H A D | aesgcmtest.c | 18 static const unsigned char gcm_iv[] = { variable 51 iv_gen != NULL ? NULL : gcm_iv) > 0) in do_encrypt() 102 && do_decrypt(gcm_iv, ct, ctlen, tag, taglen); in kat_test()
|
H A D | evp_extra_test.c | 5649 const unsigned char *gcm_iv, size_t gcm_ivlen, in aes_gcm_encrypt() argument 5672 if (!TEST_true(EVP_EncryptInit_ex2(ctx, cipher, gcm_key, gcm_iv, params)) in aes_gcm_encrypt() 5698 const unsigned char *gcm_iv, size_t gcm_ivlen, in aes_gcm_decrypt() argument 5722 if (!TEST_true(EVP_DecryptInit_ex2(ctx, cipher, gcm_key, gcm_iv, params)) in aes_gcm_decrypt() 5754 static const unsigned char gcm_iv[] = { in test_aes_gcm_ivlen_change_cve_2023_5363() local 5780 return aes_gcm_encrypt(gcm_key, sizeof(gcm_key), gcm_iv, sizeof(gcm_iv), in test_aes_gcm_ivlen_change_cve_2023_5363() 5783 && aes_gcm_decrypt(gcm_key, sizeof(gcm_key), gcm_iv, sizeof(gcm_iv), in test_aes_gcm_ivlen_change_cve_2023_5363()
|
Completed in 21 milliseconds