Home
last modified time | relevance | path

Searched refs:ivmode (Results 1 – 3 of 3) sorted by relevance

/linux-4.4.14/drivers/crypto/sunxi-ss/
Dsun4i-ss-hash.c161 u32 v, ivmode = 0; in sun4i_hash_update() local
221 ivmode = SS_IV_ARBITRARY; in sun4i_hash_update()
226 writel(op->mode | SS_ENABLED | ivmode, ss->base + SS_CTL); in sun4i_hash_update()
342 u32 v, ivmode = 0; in sun4i_hash_final() local
366 ivmode = SS_IV_ARBITRARY; in sun4i_hash_final()
370 writel(op->mode | SS_ENABLED | ivmode, ss->base + SS_CTL); in sun4i_hash_final()
/linux-4.4.14/drivers/md/
Ddm-crypt.c1571 char *tmp, *cipher, *chainmode, *ivmode, *ivopts, *keycount; in crypt_ctr_cipher() local
1610 ivmode = strsep(&ivopts, ":"); in crypt_ctr_cipher()
1619 if (!chainmode || (!strcmp(chainmode, "plain") && !ivmode)) { in crypt_ctr_cipher()
1621 ivmode = "plain"; in crypt_ctr_cipher()
1624 if (strcmp(chainmode, "ecb") && !ivmode) { in crypt_ctr_cipher()
1653 else if (ivmode) { in crypt_ctr_cipher()
1655 ivmode = NULL; in crypt_ctr_cipher()
1659 if (ivmode == NULL) in crypt_ctr_cipher()
1661 else if (strcmp(ivmode, "plain") == 0) in crypt_ctr_cipher()
1663 else if (strcmp(ivmode, "plain64") == 0) in crypt_ctr_cipher()
[all …]
/linux-4.4.14/Documentation/device-mapper/
Ddm-crypt.txt15 (In format cipher[:keycount]-chainmode-ivmode[:ivopts]).