Home
last modified time | relevance | path

Searched refs:short_len (Results 1 – 7 of 7) sorted by relevance

/linux-6.6.21/drivers/s390/crypto/
Dzcrypt_cca_key.h174 int short_len, long_len, pad_len, key_len, size; in zcrypt_type6_crt_key() local
187 short_len = (crt->inputdatalength + 1) / 2; in zcrypt_type6_crt_key()
188 long_len = short_len + 8; in zcrypt_type6_crt_key()
189 pad_len = -(3 * long_len + 2 * short_len) & 7; in zcrypt_type6_crt_key()
190 key_len = 3 * long_len + 2 * short_len + pad_len + crt->inputdatalength; in zcrypt_type6_crt_key()
207 key->pvt.q_len = key->pvt.dq_len = short_len; in zcrypt_type6_crt_key()
214 crt->nq_prime, short_len) || in zcrypt_type6_crt_key()
215 copy_from_user(key->key_parts + long_len + short_len, in zcrypt_type6_crt_key()
217 copy_from_user(key->key_parts + 2 * long_len + short_len, in zcrypt_type6_crt_key()
218 crt->bq_key, short_len) || in zcrypt_type6_crt_key()
[all …]
Dzcrypt_msgtype50.c262 int mod_len, short_len; in ICACRT_msg_to_type50CRT_msg() local
266 short_len = (mod_len + 1) / 2; in ICACRT_msg_to_type50CRT_msg()
282 p = crb1->p + sizeof(crb1->p) - short_len; in ICACRT_msg_to_type50CRT_msg()
283 q = crb1->q + sizeof(crb1->q) - short_len; in ICACRT_msg_to_type50CRT_msg()
284 dp = crb1->dp + sizeof(crb1->dp) - short_len; in ICACRT_msg_to_type50CRT_msg()
285 dq = crb1->dq + sizeof(crb1->dq) - short_len; in ICACRT_msg_to_type50CRT_msg()
286 u = crb1->u + sizeof(crb1->u) - short_len; in ICACRT_msg_to_type50CRT_msg()
296 p = crb2->p + sizeof(crb2->p) - short_len; in ICACRT_msg_to_type50CRT_msg()
297 q = crb2->q + sizeof(crb2->q) - short_len; in ICACRT_msg_to_type50CRT_msg()
298 dp = crb2->dp + sizeof(crb2->dp) - short_len; in ICACRT_msg_to_type50CRT_msg()
[all …]
/linux-6.6.21/net/bluetooth/
Deir.c32 size_t short_len; in eir_append_local_name() local
46 short_len = strnlen(hdev->short_name, sizeof(hdev->short_name)); in eir_append_local_name()
47 if (short_len) in eir_append_local_name()
50 short_len == HCI_MAX_SHORT_NAME_LENGTH ? in eir_append_local_name()
51 short_len : short_len + 1); in eir_append_local_name()
/linux-6.6.21/fs/fat/
Ddir.c550 int short_len; member
568 int short_len = 0, fill_len = 0; in __fat_readdir() local
635 short_len = fat_parse_short(sb, de, bufname, in __fat_readdir()
637 if (short_len == 0) in __fat_readdir()
643 both->short_len = short_len; in __fat_readdir()
650 short_len = fat_parse_short(sb, de, bufname, sbi->options.dotsOK); in __fat_readdir()
651 if (short_len == 0) in __fat_readdir()
655 fill_len = short_len; in __fat_readdir()
736 int short_len = buf->short_len; \
740 if (short_len >= sizeof(d1->d_name)) \
[all …]
/linux-6.6.21/drivers/firmware/broadcom/
Dbcm47xx_sprom.c627 size_t short_len = prefix_len - 1; in bcm47xx_sprom_apply_prefix_alias() local
642 (short_len && strlen(buf) == short_len && !strncmp(buf, prefix, short_len))) { in bcm47xx_sprom_apply_prefix_alias()
/linux-6.6.21/drivers/gpu/drm/bridge/
Dti-sn65dsi86.c530 unsigned int short_len; in ti_sn_aux_transfer() local
604 ret = regmap_read(pdata->regmap, SN_AUX_LENGTH_REG, &short_len); in ti_sn_aux_transfer()
605 len = min(len, short_len); in ti_sn_aux_transfer()
/linux-6.6.21/drivers/crypto/axis/
Dartpec6_crypto.c154 unsigned char short_len : 3; member
595 d->ctrl.short_len = len; in artpec6_crypto_setup_out_descr_short()