Home
last modified time | relevance | path

Searched refs:out_pad (Results 1 – 2 of 2) sorted by relevance

/linux-5.19.10/drivers/crypto/marvell/octeontx/
Dotx_cptvf_algs.c707 static int copy_pad(u8 mac_type, u8 *out_pad, u8 *in_pad) in copy_pad() argument
717 memcpy(out_pad, &sha1->state, SHA1_DIGEST_SIZE); in copy_pad()
723 memcpy(out_pad, &sha256->state, SHA256_DIGEST_SIZE); in copy_pad()
730 memcpy(out_pad, &sha512->state, SHA512_DIGEST_SIZE); in copy_pad()
/linux-5.19.10/drivers/crypto/marvell/octeontx2/
Dotx2_cptvf_algs.c762 static int copy_pad(u8 mac_type, u8 *out_pad, u8 *in_pad) in copy_pad() argument
772 memcpy(out_pad, &sha1->state, SHA1_DIGEST_SIZE); in copy_pad()
778 memcpy(out_pad, &sha256->state, SHA256_DIGEST_SIZE); in copy_pad()
785 memcpy(out_pad, &sha512->state, SHA512_DIGEST_SIZE); in copy_pad()