Searched refs:kAESKey (Results 1 – 2 of 2) sorted by relevance
/external/boringssl/src/fipstools/ |
D | test_fips.c | 48 static const uint8_t kAESKey[16] = "BoringCrypto Key"; in main() local 72 if (AES_set_encrypt_key(kAESKey, 8 * sizeof(kAESKey), &aes_key) != 0) { in main() 86 if (AES_set_decrypt_key(kAESKey, 8 * sizeof(kAESKey), &aes_key) != 0) { in main() 101 if (!EVP_AEAD_CTX_init(&aead_ctx, EVP_aead_aes_128_gcm(), kAESKey, in main() 102 sizeof(kAESKey), 0, NULL)) { in main()
|
/external/boringssl/src/crypto/fipsmodule/self_check/ |
D | self_check.c | 231 static const uint8_t kAESKey[16] = "BoringCrypto Key"; in BORINGSSL_self_test() local 396 if (AES_set_encrypt_key(kAESKey, 8 * sizeof(kAESKey), &aes_key) != 0) { in BORINGSSL_self_test() 409 if (AES_set_decrypt_key(kAESKey, 8 * sizeof(kAESKey), &aes_key) != 0) { in BORINGSSL_self_test() 423 if (!EVP_AEAD_CTX_init(&aead_ctx, EVP_aead_aes_128_gcm(), kAESKey, in BORINGSSL_self_test() 424 sizeof(kAESKey), 0, NULL)) { in BORINGSSL_self_test()
|