Searched refs:srclen (Results 1 – 7 of 7) sorted by relevance
/drivers/crypto/vmx/ |
D | ghash.c | 96 const u8 *src, unsigned int srclen) in __ghash_blocks() argument 103 src, srclen); in __ghash_blocks() 108 while (srclen >= GHASH_BLOCK_SIZE) { in __ghash_blocks() 111 srclen -= GHASH_BLOCK_SIZE; in __ghash_blocks() 118 const u8 *src, unsigned int srclen) in p8_ghash_update() argument 125 if (dctx->bytes + srclen < GHASH_DIGEST_SIZE) { in p8_ghash_update() 127 srclen); in p8_ghash_update() 128 dctx->bytes += srclen; in p8_ghash_update() 137 srclen -= GHASH_DIGEST_SIZE - dctx->bytes; in p8_ghash_update() 140 len = srclen & ~(GHASH_DIGEST_SIZE - 1); in p8_ghash_update() [all …]
|
/drivers/crypto/cavium/nitrox/ |
D | nitrox_aead.c | 176 rctx->srclen); in nitrox_set_creq() 229 rctx->srclen = areq->assoclen + areq->cryptlen; in nitrox_aes_gcm_enc() 230 rctx->dstlen = rctx->srclen + aead->authsize; in nitrox_aes_gcm_enc() 263 rctx->srclen = areq->cryptlen + areq->assoclen; in nitrox_aes_gcm_dec() 264 rctx->dstlen = rctx->srclen - aead->authsize; in nitrox_aes_gcm_dec() 451 aead_rctx->srclen = aead_rctx->assoclen + aead_rctx->cryptlen; in nitrox_rfc4106_enc() 452 aead_rctx->dstlen = aead_rctx->srclen + aead->authsize; in nitrox_rfc4106_enc() 483 aead_rctx->srclen = in nitrox_rfc4106_dec() 485 aead_rctx->dstlen = aead_rctx->srclen - aead->authsize; in nitrox_rfc4106_dec()
|
D | nitrox_req.h | 238 unsigned int srclen; member
|
/drivers/hv/ |
D | ring_buffer.c | 111 u32 srclen) in hv_copyto_ringbuffer() argument 116 memcpy(ring_buffer + start_write_offset, src, srclen); in hv_copyto_ringbuffer() 118 start_write_offset += srclen; in hv_copyto_ringbuffer()
|
/drivers/usb/core/ |
D | sysfs.c | 868 size_t srclen, n; in read_descriptors() local 880 srclen = sizeof(struct usb_device_descriptor); in read_descriptors() 883 srclen = __le16_to_cpu(udev->config[cfgno].desc. in read_descriptors() 886 if (off < srclen) { in read_descriptors() 887 n = min(nleft, srclen - (size_t) off); in read_descriptors() 893 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 | 613 int srclen = 0; in chcr_hash_ent_in_wr() local 624 srclen += sless; in chcr_hash_ent_in_wr() 633 return srclen; in chcr_hash_ent_in_wr() 643 int srclen = 0, dstlen = 0; in chcr_sg_ent_in_wr() local 660 srclen += sless; in chcr_sg_ent_in_wr() 665 if (srclen <= dstlen) in chcr_sg_ent_in_wr() 686 return min(srclen, dstlen); in chcr_sg_ent_in_wr()
|