Home
last modified time | relevance | path

Searched refs:kAESKey (Results 1 – 2 of 2) sorted by relevance

/external/boringssl/src/fipstools/
Dtest_fips.c48 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/
Dbcm.c325 static const uint8_t kAESKey[16] = "BoringCrypto Key"; in BORINGSSL_bcm_power_on_self_test() local
483 if (AES_set_encrypt_key(kAESKey, 8 * sizeof(kAESKey), &aes_key) != 0) { in BORINGSSL_bcm_power_on_self_test()
495 if (AES_set_decrypt_key(kAESKey, 8 * sizeof(kAESKey), &aes_key) != 0) { in BORINGSSL_bcm_power_on_self_test()
509 if (!EVP_AEAD_CTX_init(&aead_ctx, EVP_aead_aes_128_gcm(), kAESKey, in BORINGSSL_bcm_power_on_self_test()
510 sizeof(kAESKey), 0, NULL)) { in BORINGSSL_bcm_power_on_self_test()