Searched refs:gcm_key (Results 1 – 3 of 3) sorted by relevance
/openssl/demos/cipher/ |
H A D | aesgcm.c | 24 static const unsigned char gcm_key[] = { variable 106 if (!EVP_EncryptInit_ex2(ctx, cipher, gcm_key, gcm_iv, params)) in aes_gcm_encrypt() 178 if (!EVP_DecryptInit_ex2(ctx, cipher, gcm_key, gcm_iv, params)) in aes_gcm_decrypt()
|
/openssl/test/ |
H A D | aesgcmtest.c | 13 static const unsigned char gcm_key[] = { variable 50 && TEST_true(EVP_EncryptInit_ex(ctx, NULL, NULL, gcm_key, in do_encrypt() 78 && TEST_true(EVP_DecryptInit_ex(ctx, NULL, NULL, gcm_key, iv) > 0) in do_decrypt()
|
H A D | evp_extra_test.c | 5648 static int aes_gcm_encrypt(const unsigned char *gcm_key, size_t gcm_key_s, in aes_gcm_encrypt() argument 5672 if (!TEST_true(EVP_EncryptInit_ex2(ctx, cipher, gcm_key, gcm_iv, params)) in aes_gcm_encrypt() 5697 static int aes_gcm_decrypt(const unsigned char *gcm_key, size_t gcm_key_s, in aes_gcm_decrypt() argument 5722 if (!TEST_true(EVP_DecryptInit_ex2(ctx, cipher, gcm_key, gcm_iv, params)) in aes_gcm_decrypt() 5749 static const unsigned char gcm_key[] = { 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 22 milliseconds