Home
last modified time | relevance | path

Searched refs:dg (Results 1 – 3 of 3) sorted by relevance

/optee_os/core/arch/arm/crypto/
H A Daes-gcm-ce.c67 static void pmull_ghash_update(int num_blocks, uint64_t dg[2], in pmull_ghash_update()
73 pmull_ghash_update_p64(num_blocks, dg, src, ghash_key, head); in pmull_ghash_update()
75 pmull_ghash_update_p8(num_blocks, dg, src, ghash_key, head); in pmull_ghash_update()
84 uint64_t dg[2]; in internal_aes_gcm_ghash_update() local
86 get_be_block(dg, state->hash_state); in internal_aes_gcm_ghash_update()
90 pmull_ghash_update(num_blocks, dg, data, &state->ghash_key, head); in internal_aes_gcm_ghash_update()
94 put_be_block(state->hash_state, dg); in internal_aes_gcm_ghash_update()
98 const struct internal_aes_gcm_key *ek, uint64_t dg[2], in encrypt_pl()
106 pmull_ghash_update(1, dg, buf_cryp, &state->ghash_key, NULL); in encrypt_pl()
121 const struct internal_aes_gcm_key *ek, uint64_t dg[2], in decrypt_pl()
[all …]
/optee_os/core/lib/libtomcrypt/src/encauth/gcm/
H A Dgcm_mult_h_arm_ce.c24 uint64_t dg[2]; in gcm_mult_h() local
34 dg[1] = get_be64(I); in gcm_mult_h()
35 dg[0] = get_be64(I + 8); in gcm_mult_h()
39 pmull_ghash_update_p64(1, dg, zeroes, k, NULL); in gcm_mult_h()
41 pmull_ghash_update_p8(1, dg, zeroes, k, NULL); in gcm_mult_h()
45 put_be64(I, dg[1]); in gcm_mult_h()
46 put_be64(I + 8, dg[0]); in gcm_mult_h()
/optee_os/core/arch/arm/include/crypto/
H A Dghash-ce-core.h18 void pmull_ghash_update_p64(int blocks, uint64_t dg[2], const uint8_t *src,
21 void pmull_ghash_update_p8(int blocks, uint64_t dg[2], const uint8_t *src,
27 void pmull_gcm_encrypt(int blocks, uint64_t dg[2], uint8_t dst[],
34 void pmull_gcm_decrypt(int blocks, uint64_t dg[2], uint8_t dst[],