This file contains hidden or 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
| handle SIGUSR1 nostop noprint pass | |
| set print pretty on | |
| define pvec | |
| print *$arg0@vl($arg0) | |
| end | |
| document pvec | |
| pvec - display all elements of vector. Takes vector as argument | |
| *** WARNING - SEGV likely if you put in the wrong thing | |
| end |
This file contains hidden or 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 |
OlderNewer