Searched refs:alignbuffer (Results 1 – 6 of 6) sorted by relevance
/openbmc/linux/crypto/ |
H A D | cipher.c | 26 u8 *buffer, *alignbuffer; in setkey_unaligned() local 34 alignbuffer = (u8 *)ALIGN((unsigned long)buffer, alignmask + 1); in setkey_unaligned() 35 memcpy(alignbuffer, key, keylen); in setkey_unaligned() 36 ret = cia->cia_setkey(crypto_cipher_tfm(tfm), alignbuffer, keylen); in setkey_unaligned()
|
H A D | aead.c | 37 u8 *buffer, *alignbuffer; in setkey_unaligned() local 45 alignbuffer = (u8 *)ALIGN((unsigned long)buffer, alignmask + 1); in setkey_unaligned() 46 memcpy(alignbuffer, key, keylen); in setkey_unaligned() 47 ret = crypto_aead_alg(tfm)->setkey(tfm, alignbuffer, keylen); in setkey_unaligned()
|
H A D | ahash.c | 135 u8 *buffer, *alignbuffer; in ahash_setkey_unaligned() local 143 alignbuffer = (u8 *)ALIGN((unsigned long)buffer, alignmask + 1); in ahash_setkey_unaligned() 144 memcpy(alignbuffer, key, keylen); in ahash_setkey_unaligned() 145 ret = tfm->setkey(tfm, alignbuffer, keylen); in ahash_setkey_unaligned()
|
H A D | shash.c | 47 u8 *buffer, *alignbuffer; in shash_setkey_unaligned() local 55 alignbuffer = (u8 *)ALIGN((unsigned long)buffer, alignmask + 1); in shash_setkey_unaligned() 56 memcpy(alignbuffer, key, keylen); in shash_setkey_unaligned() 57 err = shash->setkey(tfm, alignbuffer, keylen); in shash_setkey_unaligned()
|
H A D | skcipher.c | 596 u8 *buffer, *alignbuffer; in skcipher_setkey_unaligned() local 605 alignbuffer = (u8 *)ALIGN((unsigned long)buffer, alignmask + 1); in skcipher_setkey_unaligned() 606 memcpy(alignbuffer, key, keylen); in skcipher_setkey_unaligned() 607 ret = cipher->setkey(tfm, alignbuffer, keylen); in skcipher_setkey_unaligned()
|
/openbmc/u-boot/drivers/net/ |
H A D | xilinx_emaclite.c | 101 u32 alignbuffer; in xemaclite_alignedread() local 117 alignbuffer = *from32ptr++; in xemaclite_alignedread() 118 from8ptr = (u8 *) &alignbuffer; in xemaclite_alignedread() 127 u32 alignbuffer; in xemaclite_alignedwrite() local 140 alignbuffer = 0; in xemaclite_alignedwrite() 141 to8ptr = (u8 *) &alignbuffer; in xemaclite_alignedwrite() 147 *to32ptr++ = alignbuffer; in xemaclite_alignedwrite()
|