Searched refs:GCM128_CONTEXT (Results 1 – 4 of 4) sorted by relevance
/external/boringssl/src/crypto/modes/ |
D | internal.h | 233 typedef struct gcm128_context GCM128_CONTEXT; typedef 237 OPENSSL_EXPORT GCM128_CONTEXT *CRYPTO_gcm128_new(const void *key, 242 OPENSSL_EXPORT void CRYPTO_gcm128_init(GCM128_CONTEXT *ctx, const void *key, 247 OPENSSL_EXPORT void CRYPTO_gcm128_setiv(GCM128_CONTEXT *ctx, const void *key, 253 OPENSSL_EXPORT int CRYPTO_gcm128_aad(GCM128_CONTEXT *ctx, const uint8_t *aad, 259 OPENSSL_EXPORT int CRYPTO_gcm128_encrypt(GCM128_CONTEXT *ctx, const void *key, 266 OPENSSL_EXPORT int CRYPTO_gcm128_decrypt(GCM128_CONTEXT *ctx, const void *key, 275 OPENSSL_EXPORT int CRYPTO_gcm128_encrypt_ctr32(GCM128_CONTEXT *ctx, 285 OPENSSL_EXPORT int CRYPTO_gcm128_decrypt_ctr32(GCM128_CONTEXT *ctx, 292 OPENSSL_EXPORT int CRYPTO_gcm128_finish(GCM128_CONTEXT *ctx, const uint8_t *tag, [all …]
|
D | gcm.c | 408 GCM128_CONTEXT *CRYPTO_gcm128_new(const void *key, block128_f block) { in CRYPTO_gcm128_new() 409 GCM128_CONTEXT *ret; in CRYPTO_gcm128_new() 411 ret = (GCM128_CONTEXT *)OPENSSL_malloc(sizeof(GCM128_CONTEXT)); in CRYPTO_gcm128_new() 419 void CRYPTO_gcm128_init(GCM128_CONTEXT *ctx, const void *key, in CRYPTO_gcm128_init() 493 void CRYPTO_gcm128_setiv(GCM128_CONTEXT *ctx, const void *key, in CRYPTO_gcm128_setiv() 571 int CRYPTO_gcm128_aad(GCM128_CONTEXT *ctx, const uint8_t *aad, size_t len) { in CRYPTO_gcm128_aad() 635 int CRYPTO_gcm128_encrypt(GCM128_CONTEXT *ctx, const void *key, in CRYPTO_gcm128_encrypt() 795 int CRYPTO_gcm128_decrypt(GCM128_CONTEXT *ctx, const void *key, in CRYPTO_gcm128_decrypt() 962 int CRYPTO_gcm128_encrypt_ctr32(GCM128_CONTEXT *ctx, const void *key, in CRYPTO_gcm128_encrypt_ctr32() 1071 int CRYPTO_gcm128_decrypt_ctr32(GCM128_CONTEXT *ctx, const void *key, in CRYPTO_gcm128_decrypt_ctr32() [all …]
|
D | gcm_test.c | 308 GCM128_CONTEXT ctx; in run_test_case()
|
/external/boringssl/src/crypto/cipher/ |
D | e_aes.c | 89 GCM128_CONTEXT gcm; 411 static ctr128_f aes_ctr_set_key(AES_KEY *aes_key, GCM128_CONTEXT *gcm_ctx, in aes_ctr_set_key() 1057 GCM128_CONTEXT gcm; 1106 GCM128_CONTEXT gcm; in aead_aes_gcm_seal() 1151 GCM128_CONTEXT gcm; in aead_aes_gcm_open()
|