Home
last modified time | relevance | path

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

/titanic_44/usr/src/cmd/lofiadm/
H A Dmain.c906 size_t *ksz) in getkeyfromfile() argument
916 *ksz = cipher->max_keysize; in getkeyfromfile()
917 *key = malloc(*ksz); in getkeyfromfile()
921 if (pkcs11_get_urandom(*key, *ksz) < 0) { in getkeyfromfile()
947 *ksz = sbuf.st_size; in getkeyfromfile()
948 if (*ksz < cipher->min_keysize || cipher->max_keysize < *ksz) { in getkeyfromfile()
950 pathname, (int)*ksz); in getkeyfromfile()
955 *ksz = cipher->max_keysize; in getkeyfromfile()
959 *key = malloc(*ksz); in getkeyfromfile()
963 for (cursz = 0, nread = 0; cursz < *ksz; cursz += nread) { in getkeyfromfile()
[all …]