Home
last modified time | relevance | path

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

/optee_os/core/arch/arm/crypto/
A Daes-gcm-ce.c84 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()
94 put_be_block(state->hash_state, dg); in internal_aes_gcm_ghash_update()
180 uint64_t dg[2] = { 0 }; in internal_aes_gcm_update_payload_blocks() local
182 get_be_block(dg, state->hash_state); in internal_aes_gcm_update_payload_blocks()
198 encrypt_pl(state, ek, dg, s, 1, d); in internal_aes_gcm_update_payload_blocks()
200 decrypt_pl(state, ek, dg, s, 1, d); in internal_aes_gcm_update_payload_blocks()
204 put_be_block(state->hash_state, dg); in internal_aes_gcm_update_payload_blocks()
216 uint64_t dg[2] = { 0 }; in internal_aes_gcm_update_payload_blocks() local
220 get_be_block(dg, state->hash_state); in internal_aes_gcm_update_payload_blocks()
[all …]
/optee_os/core/lib/libtomcrypt/src/encauth/gcm/
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/
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[],

Completed in 4 milliseconds