Searched refs:out_pad (Results 1 – 2 of 2) sorted by relevance
/linux-5.19.10/drivers/crypto/marvell/octeontx/ |
D | otx_cptvf_algs.c | 707 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/ |
D | otx2_cptvf_algs.c | 762 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()
|