This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# Get development tools installed | |
# | |
sudo yum install -y git cvs zlib-devel | |
sudo yum groupinstall -y "Development Tools" | |
# | |
# Install RVM | |
# | |
bash < <(curl -s https://rvm.beginrescueend.com/install/rvm) |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// src/plugins/crypto_native/aes_gcm.c | |
static void test_aes_gcm() | |
{ | |
u8 src[32] = {0}, dst[32] = {0}, check[32] = {0}; | |
u8 aad[32] = {0}, iv[12] = {0}, tag[16] = {0}, key[32]; | |
aes_key_size_t ks = AES_KEY_256; | |
aes_gcm_key_data_t kd; | |
// prepare key |