Searched refs:ivmode (Results 1 – 2 of 2) sorted by relevance
/drivers/crypto/sunxi-ss/ |
D | sun4i-ss-hash.c | 161 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()
|
/drivers/md/ |
D | dm-crypt.c | 1570 char *tmp, *cipher, *chainmode, *ivmode, *ivopts, *keycount; in crypt_ctr_cipher() local 1609 ivmode = strsep(&ivopts, ":"); in crypt_ctr_cipher() 1618 if (!chainmode || (!strcmp(chainmode, "plain") && !ivmode)) { in crypt_ctr_cipher() 1620 ivmode = "plain"; in crypt_ctr_cipher() 1623 if (strcmp(chainmode, "ecb") && !ivmode) { in crypt_ctr_cipher() 1652 else if (ivmode) { in crypt_ctr_cipher() 1654 ivmode = NULL; in crypt_ctr_cipher() 1658 if (ivmode == NULL) in crypt_ctr_cipher() 1660 else if (strcmp(ivmode, "plain") == 0) in crypt_ctr_cipher() 1662 else if (strcmp(ivmode, "plain64") == 0) in crypt_ctr_cipher() [all …]
|