Searched refs:out_pad (Results 1 – 2 of 2) sorted by relevance
/Linux-v6.6/drivers/crypto/marvell/octeontx/ |
D | otx_cptvf_algs.c | 708 static int copy_pad(u8 mac_type, u8 *out_pad, u8 *in_pad) in copy_pad() argument 718 memcpy(out_pad, &sha1->state, SHA1_DIGEST_SIZE); in copy_pad() 724 memcpy(out_pad, &sha256->state, SHA256_DIGEST_SIZE); in copy_pad() 731 memcpy(out_pad, &sha512->state, SHA512_DIGEST_SIZE); in copy_pad()
|
/Linux-v6.6/drivers/crypto/marvell/octeontx2/ |
D | otx2_cptvf_algs.c | 763 static int copy_pad(u8 mac_type, u8 *out_pad, u8 *in_pad) in copy_pad() argument 773 memcpy(out_pad, &sha1->state, SHA1_DIGEST_SIZE); in copy_pad() 779 memcpy(out_pad, &sha256->state, SHA256_DIGEST_SIZE); in copy_pad() 786 memcpy(out_pad, &sha512->state, SHA512_DIGEST_SIZE); in copy_pad()
|