Searched refs:short_len (Results 1 - 5 of 5) sorted by relevance

/linux-4.1.27/drivers/s390/crypto/
H A Dzcrypt_msgtype50.c247 int mod_len, short_len; ICACRT_msg_to_type50CRT_msg() local
251 short_len = mod_len / 2; ICACRT_msg_to_type50CRT_msg()
266 p = crb1->p + sizeof(crb1->p) - short_len; ICACRT_msg_to_type50CRT_msg()
267 q = crb1->q + sizeof(crb1->q) - short_len; ICACRT_msg_to_type50CRT_msg()
268 dp = crb1->dp + sizeof(crb1->dp) - short_len; ICACRT_msg_to_type50CRT_msg()
269 dq = crb1->dq + sizeof(crb1->dq) - short_len; ICACRT_msg_to_type50CRT_msg()
270 u = crb1->u + sizeof(crb1->u) - short_len; ICACRT_msg_to_type50CRT_msg()
279 p = crb2->p + sizeof(crb2->p) - short_len; ICACRT_msg_to_type50CRT_msg()
280 q = crb2->q + sizeof(crb2->q) - short_len; ICACRT_msg_to_type50CRT_msg()
281 dp = crb2->dp + sizeof(crb2->dp) - short_len; ICACRT_msg_to_type50CRT_msg()
282 dq = crb2->dq + sizeof(crb2->dq) - short_len; ICACRT_msg_to_type50CRT_msg()
283 u = crb2->u + sizeof(crb2->u) - short_len; ICACRT_msg_to_type50CRT_msg()
293 p = crb3->p + sizeof(crb3->p) - short_len; ICACRT_msg_to_type50CRT_msg()
294 q = crb3->q + sizeof(crb3->q) - short_len; ICACRT_msg_to_type50CRT_msg()
295 dp = crb3->dp + sizeof(crb3->dp) - short_len; ICACRT_msg_to_type50CRT_msg()
296 dq = crb3->dq + sizeof(crb3->dq) - short_len; ICACRT_msg_to_type50CRT_msg()
297 u = crb3->u + sizeof(crb3->u) - short_len; ICACRT_msg_to_type50CRT_msg()
306 if (copy_from_user(p, crt->np_prime + MSGTYPE_ADJUSTMENT, short_len) || ICACRT_msg_to_type50CRT_msg()
307 copy_from_user(q, crt->nq_prime, short_len) || ICACRT_msg_to_type50CRT_msg()
308 copy_from_user(dp, crt->bp_key + MSGTYPE_ADJUSTMENT, short_len) || ICACRT_msg_to_type50CRT_msg()
309 copy_from_user(dq, crt->bq_key, short_len) || ICACRT_msg_to_type50CRT_msg()
310 copy_from_user(u, crt->u_mult_inv + MSGTYPE_ADJUSTMENT, short_len) || ICACRT_msg_to_type50CRT_msg()
H A Dzcrypt_cca_key.h290 int short_len, long_len, pad_len, key_len, size; zcrypt_type6_crt_key() local
294 short_len = crt->inputdatalength / 2; zcrypt_type6_crt_key()
295 long_len = short_len + 8; zcrypt_type6_crt_key()
296 pad_len = -(3*long_len + 2*short_len) & 7; zcrypt_type6_crt_key()
297 key_len = 3*long_len + 2*short_len + pad_len + crt->inputdatalength; zcrypt_type6_crt_key()
319 key->pvt.q_len = key->pvt.dq_len = short_len; zcrypt_type6_crt_key()
326 crt->nq_prime, short_len) || zcrypt_type6_crt_key()
327 copy_from_user(key->key_parts + long_len + short_len, zcrypt_type6_crt_key()
329 copy_from_user(key->key_parts + 2*long_len + short_len, zcrypt_type6_crt_key()
330 crt->bq_key, short_len) || zcrypt_type6_crt_key()
331 copy_from_user(key->key_parts + 2*long_len + 2*short_len, zcrypt_type6_crt_key()
334 memset(key->key_parts + 3*long_len + 2*short_len + pad_len, zcrypt_type6_crt_key()
H A Dzcrypt_pcica.c138 int mod_len, short_len, long_len; ICACRT_msg_to_type4CRT_msg() local
141 short_len = mod_len / 2; ICACRT_msg_to_type4CRT_msg()
153 q = scr->q + sizeof(scr->q) - short_len; ICACRT_msg_to_type4CRT_msg()
155 dq = scr->dq + sizeof(scr->dq) - short_len; ICACRT_msg_to_type4CRT_msg()
167 q = lcr->q + sizeof(lcr->q) - short_len; ICACRT_msg_to_type4CRT_msg()
169 dq = lcr->dq + sizeof(lcr->dq) - short_len; ICACRT_msg_to_type4CRT_msg()
175 copy_from_user(q, crt->nq_prime, short_len) || ICACRT_msg_to_type4CRT_msg()
177 copy_from_user(dq, crt->bq_key, short_len) || ICACRT_msg_to_type4CRT_msg()
/linux-4.1.27/fs/fat/
H A Ddir.c549 int short_len; member in struct:fat_ioctl_filldir_callback
567 int short_len = 0, fill_len = 0; __fat_readdir() local
634 short_len = fat_parse_short(sb, de, bufname, __fat_readdir()
636 if (short_len == 0) __fat_readdir()
642 both->short_len = short_len; __fat_readdir()
649 short_len = fat_parse_short(sb, de, bufname, sbi->options.dotsOK); __fat_readdir()
650 if (short_len == 0) __fat_readdir()
654 fill_len = short_len; __fat_readdir()
729 int short_len = buf->short_len; \
733 if (short_len >= sizeof(d1->d_name)) \
734 short_len = sizeof(d1->d_name) - 1; \
741 copy_to_user(d1->d_name, shortname, short_len) || \
742 put_user(0, d1->d_name + short_len) || \
743 put_user(short_len, &d1->d_reclen)) \
/linux-4.1.27/arch/mips/bcm47xx/
H A Dsprom.c677 size_t short_len = prefix_len - 1; bcm47xx_sprom_apply_prefix_alias() local
692 (short_len && strlen(buf) == short_len && !strncmp(buf, prefix, short_len))) { bcm47xx_sprom_apply_prefix_alias()

Completed in 107 milliseconds