Home
last modified time | relevance | path

Searched refs:gcm_key (Results 1 – 3 of 3) sorted by relevance

/freebsd/crypto/openssl/demos/cipher/
H A Daesgcm.c24 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()
/freebsd/crypto/openssl/test/
H A Daesgcmtest.c13 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 Devp_extra_test.c5107 static int aes_gcm_encrypt(const unsigned char *gcm_key, size_t gcm_key_s, in aes_gcm_encrypt() argument
5131 if (!TEST_true(EVP_EncryptInit_ex2(ctx, cipher, gcm_key, gcm_iv, params)) in aes_gcm_encrypt()
5156 static int aes_gcm_decrypt(const unsigned char *gcm_key, size_t gcm_key_s, in aes_gcm_decrypt() argument
5181 if (!TEST_true(EVP_DecryptInit_ex2(ctx, cipher, gcm_key, gcm_iv, params)) in aes_gcm_decrypt()
5208 static const unsigned char gcm_key[] = { in test_aes_gcm_ivlen_change_cve_2023_5363() local
5239 return aes_gcm_encrypt(gcm_key, sizeof(gcm_key), gcm_iv, sizeof(gcm_iv), in test_aes_gcm_ivlen_change_cve_2023_5363()
5242 && aes_gcm_decrypt(gcm_key, sizeof(gcm_key), gcm_iv, sizeof(gcm_iv), in test_aes_gcm_ivlen_change_cve_2023_5363()