Searched refs:gcm_key (Results 1 – 7 of 7) sorted by relevance
/third_party/boringssl/src/crypto/fipsmodule/modes/ |
D | gcm.c | 236 #define GCM_MUL(ctx, Xi) gcm_gmult_4bit((ctx)->Xi.u, (ctx)->gcm_key.Htable) 238 gcm_ghash_4bit((ctx)->Xi.u, (ctx)->gcm_key.Htable, in, len) 273 #define GCM_MUL(ctx, Xi) (*gcm_gmult_p)((ctx)->Xi.u, (ctx)->gcm_key.Htable) 276 (*gcm_ghash_p)((ctx)->Xi.u, (ctx)->gcm_key.Htable, in, len) 281 const uint8_t gcm_key[16]) { in CRYPTO_ghash_init() 289 OPENSSL_memcpy(H.c, gcm_key, 16); in CRYPTO_ghash_init() 363 void CRYPTO_gcm128_init_key(GCM128_KEY *gcm_key, const AES_KEY *aes_key, in CRYPTO_gcm128_init_key() argument 365 OPENSSL_memset(gcm_key, 0, sizeof(*gcm_key)); in CRYPTO_gcm128_init_key() 366 gcm_key->block = block; in CRYPTO_gcm128_init_key() 373 CRYPTO_ghash_init(&gcm_key->gmult, &gcm_key->ghash, &gcm_key->H, in CRYPTO_gcm128_init_key() [all …]
|
D | gcm_test.cc | 87 CRYPTO_gcm128_init_key(&ctx.gcm_key, &aes_key, AES_encrypt, 0); in TEST() 182 memcpy(&gcm.gcm_key.H, kH, sizeof(kH)); in TEST() 183 memcpy(&gcm.gcm_key.Htable, Htable, sizeof(Htable)); in TEST()
|
D | internal.h | 181 alignas(16) GCM128_KEY gcm_key; member 198 const uint8_t gcm_key[16]); 202 OPENSSL_EXPORT void CRYPTO_gcm128_init_key(GCM128_KEY *gcm_key,
|
/third_party/openssl/demos/evp/ |
D | aesgcm.c | 20 static const unsigned char gcm_key[] = { variable 64 EVP_EncryptInit_ex(ctx, NULL, NULL, gcm_key, gcm_iv); in aes_gcm_encrypt() 96 EVP_DecryptInit_ex(ctx, NULL, NULL, gcm_key, gcm_iv); in aes_gcm_decrypt()
|
/third_party/boringssl/src/crypto/fipsmodule/cipher/ |
D | e_aes.c | 282 ctr128_f aes_ctr_set_key(AES_KEY *aes_key, GCM128_KEY *gcm_key, in aes_ctr_set_key() argument 287 if (gcm_key != NULL) { in aes_ctr_set_key() 288 CRYPTO_gcm128_init_key(gcm_key, aes_key, aes_hw_encrypt, 1); in aes_ctr_set_key() 301 if (gcm_key != NULL) { in aes_ctr_set_key() 302 CRYPTO_gcm128_init_key(gcm_key, aes_key, vpaes_encrypt, 0); in aes_ctr_set_key() 315 if (gcm_key != NULL) { in aes_ctr_set_key() 316 CRYPTO_gcm128_init_key(gcm_key, aes_key, aes_nohw_encrypt, 0); in aes_ctr_set_key() 360 gctx->ctr = aes_ctr_set_key(&gctx->ks.ks, &gctx->gcm.gcm_key, NULL, key, in aes_gcm_init_key() 884 GCM128_KEY gcm_key; member 908 aes_ctr_set_key(&gcm_ctx->ks.ks, &gcm_ctx->gcm_key, NULL, key, key_len); in aead_aes_gcm_init_impl() [all …]
|
D | internal.h | 120 ctr128_f aes_ctr_set_key(AES_KEY *aes_key, GCM128_KEY *gcm_key,
|
/third_party/libwebsockets/minimal-examples/api-tests/api-test-gencrypto/ |
D | lws-genaes.c | 655 }, gcm_key[] = { variable 679 e.buf = (uint8_t *)gcm_key; in test_genaes_gcm() 680 e.len = sizeof(gcm_key); in test_genaes_gcm()
|