Home
last modified time | relevance | path

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

/drivers/s390/crypto/
Dzcrypt_cca_key.h186 int short_len, long_len, pad_len, key_len, size; in zcrypt_type6_crt_key() local
199 short_len = (crt->inputdatalength + 1) / 2; in zcrypt_type6_crt_key()
200 long_len = short_len + 8; in zcrypt_type6_crt_key()
201 pad_len = -(3*long_len + 2*short_len) & 7; in zcrypt_type6_crt_key()
202 key_len = 3*long_len + 2*short_len + pad_len + crt->inputdatalength; in zcrypt_type6_crt_key()
219 key->pvt.q_len = key->pvt.dq_len = short_len; in zcrypt_type6_crt_key()
226 crt->nq_prime, short_len) || in zcrypt_type6_crt_key()
227 copy_from_user(key->key_parts + long_len + short_len, in zcrypt_type6_crt_key()
229 copy_from_user(key->key_parts + 2*long_len + short_len, in zcrypt_type6_crt_key()
230 crt->bq_key, short_len) || in zcrypt_type6_crt_key()
[all …]
Dzcrypt_msgtype50.c271 int mod_len, short_len; in ICACRT_msg_to_type50CRT_msg() local
275 short_len = (mod_len + 1) / 2; in ICACRT_msg_to_type50CRT_msg()
291 p = crb1->p + sizeof(crb1->p) - short_len; in ICACRT_msg_to_type50CRT_msg()
292 q = crb1->q + sizeof(crb1->q) - short_len; in ICACRT_msg_to_type50CRT_msg()
293 dp = crb1->dp + sizeof(crb1->dp) - short_len; in ICACRT_msg_to_type50CRT_msg()
294 dq = crb1->dq + sizeof(crb1->dq) - short_len; in ICACRT_msg_to_type50CRT_msg()
295 u = crb1->u + sizeof(crb1->u) - short_len; in ICACRT_msg_to_type50CRT_msg()
305 p = crb2->p + sizeof(crb2->p) - short_len; in ICACRT_msg_to_type50CRT_msg()
306 q = crb2->q + sizeof(crb2->q) - short_len; in ICACRT_msg_to_type50CRT_msg()
307 dp = crb2->dp + sizeof(crb2->dp) - short_len; in ICACRT_msg_to_type50CRT_msg()
[all …]
/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()
/drivers/gpu/drm/bridge/
Dti-sn65dsi86.c474 unsigned int short_len; in ti_sn_aux_transfer() local
548 ret = regmap_read(pdata->regmap, SN_AUX_LENGTH_REG, &short_len); in ti_sn_aux_transfer()
549 len = min(len, short_len); in ti_sn_aux_transfer()
/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()