Searched refs:gcm_iv (Results 1 – 3 of 3) sorted by relevance
/third_party/openssl/demos/cipher/ |
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()
|
/third_party/openssl/test/ |
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()
|
/third_party/libwebsockets/minimal-examples/api-tests/api-test-gencrypto/ |
D | lws-genaes.c | 668 }, gcm_iv[] = { variable 707 iv_off = sizeof(gcm_iv); in test_genaes_gcm() 709 (uint8_t *)gcm_iv, (uint8_t *)gcm_tag, in test_genaes_gcm() 740 iv_off = sizeof(gcm_iv); /* initial call sets iv + aad + tag */ in test_genaes_gcm() 742 (uint8_t *)gcm_iv, (uint8_t *)gcm_tag, in test_genaes_gcm()
|