Searched refs:srclen (Results 1 – 7 of 7) sorted by relevance
/drivers/crypto/vmx/ |
D | ghash.c | 95 const u8 *src, unsigned int srclen) in __ghash_blocks() argument 102 src, srclen); in __ghash_blocks() 107 while (srclen >= GHASH_BLOCK_SIZE) { in __ghash_blocks() 110 srclen -= GHASH_BLOCK_SIZE; in __ghash_blocks() 117 const u8 *src, unsigned int srclen) in p8_ghash_update() argument 124 if (dctx->bytes + srclen < GHASH_DIGEST_SIZE) { in p8_ghash_update() 126 srclen); in p8_ghash_update() 127 dctx->bytes += srclen; in p8_ghash_update() 136 srclen -= GHASH_DIGEST_SIZE - dctx->bytes; in p8_ghash_update() 139 len = srclen & ~(GHASH_DIGEST_SIZE - 1); in p8_ghash_update() [all …]
|
/drivers/crypto/cavium/nitrox/ |
D | nitrox_aead.c | 177 rctx->srclen); in nitrox_set_creq() 230 rctx->srclen = areq->assoclen + areq->cryptlen; in nitrox_aes_gcm_enc() 231 rctx->dstlen = rctx->srclen + aead->authsize; in nitrox_aes_gcm_enc() 264 rctx->srclen = areq->cryptlen + areq->assoclen; in nitrox_aes_gcm_dec() 265 rctx->dstlen = rctx->srclen - aead->authsize; in nitrox_aes_gcm_dec() 452 aead_rctx->srclen = aead_rctx->assoclen + aead_rctx->cryptlen; in nitrox_rfc4106_enc() 453 aead_rctx->dstlen = aead_rctx->srclen + aead->authsize; in nitrox_rfc4106_enc() 484 aead_rctx->srclen = in nitrox_rfc4106_dec() 486 aead_rctx->dstlen = aead_rctx->srclen - aead->authsize; in nitrox_rfc4106_dec()
|
D | nitrox_req.h | 237 unsigned int srclen; member
|
/drivers/hv/ |
D | ring_buffer.c | 118 u32 srclen) in hv_copyto_ringbuffer() argument 123 memcpy(ring_buffer + start_write_offset, src, srclen); in hv_copyto_ringbuffer() 125 start_write_offset += srclen; in hv_copyto_ringbuffer()
|
/drivers/usb/core/ |
D | sysfs.c | 889 size_t srclen, n; in read_descriptors() local 901 srclen = sizeof(struct usb_device_descriptor); in read_descriptors() 904 srclen = __le16_to_cpu(udev->config[cfgno].desc. in read_descriptors() 907 if (off < srclen) { in read_descriptors() 908 n = min(nleft, srclen - (size_t) off); in read_descriptors() 914 off -= srclen; in read_descriptors()
|
/drivers/media/usb/go7007/ |
D | go7007-fw.c | 1548 int codespace = 64 * 1024, i = 0, srclen, chunk_len, chunk_flags; in go7007_construct_fw_image() local 1579 srclen = fw_entry->size / 2; in go7007_construct_fw_image() 1580 while (srclen >= 2) { in go7007_construct_fw_image() 1583 if (chunk_len + 2 > srclen) { in go7007_construct_fw_image() 1609 srclen -= chunk_len + 2; in go7007_construct_fw_image()
|
/drivers/crypto/chelsio/ |
D | chcr_algo.c | 617 int srclen = 0; in chcr_hash_ent_in_wr() local 628 srclen += sless; in chcr_hash_ent_in_wr() 637 return srclen; in chcr_hash_ent_in_wr() 647 int srclen = 0, dstlen = 0; in chcr_sg_ent_in_wr() local 664 srclen += sless; in chcr_sg_ent_in_wr() 669 if (srclen <= dstlen) in chcr_sg_ent_in_wr() 690 return min(srclen, dstlen); in chcr_sg_ent_in_wr()
|