Searched refs:ghash (Results 1 – 2 of 2) sorted by relevance
| /linux/arch/arm64/crypto/ |
| H A D | sm4-ce-gcm-glue.c | 23 asmlinkage void pmull_ghash_update(const u8 *ghash_table, u8 *ghash, 27 unsigned int nbytes, u8 *ghash, 31 unsigned int nbytes, u8 *ghash, 71 static void gcm_calculate_auth_mac(struct aead_request *req, u8 ghash[]) in gcm_calculate_auth_mac() argument 103 pmull_ghash_update(ctx->ghash_table, ghash, in gcm_calculate_auth_mac() 109 pmull_ghash_update(ctx->ghash_table, ghash, in gcm_calculate_auth_mac() 126 pmull_ghash_update(ctx->ghash_table, ghash, buffer, 1); in gcm_calculate_auth_mac() 131 u8 ghash[], int err, in gcm_crypt() argument 134 unsigned int nbytes, u8 *ghash, in gcm_crypt() argument 142 memset(ghash, 0, SM4_BLOCK_SIZE); in gcm_crypt() [all …]
|
| /linux/drivers/crypto/ |
| H A D | atmel-aes.c | 121 __be32 ghash[AES_BLOCK_SIZE / sizeof(u32)]; member 1466 atmel_aes_read_block(dd, AES_GHASHR(0), ctx->ghash); in atmel_aes_gcm_tag_init() 1472 ctx->ghash, ctx->ghash, atmel_aes_gcm_tag); in atmel_aes_gcm_tag_init() 1490 atmel_aes_write_block(dd, AES_IDATAR(0), ctx->ghash); in atmel_aes_gcm_tag()
|