Home
last modified time | relevance | path

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

/illumos-gate/usr/src/lib/libkmf/plugins/kmf_pkcs11/common/
H A Dpkcs11_spi.c3469 CK_ULONG secKeyLen; /* for RC4 and AES */ in KMFPK11_CreateSymKey() local
3572 secKeyLen = keylen / 8; /* in bytes for RC4/AES */ in KMFPK11_CreateSymKey()
3580 SETATTR(templ, i, CKA_VALUE_LEN, &secKeyLen, in KMFPK11_CreateSymKey()
3581 sizeof (secKeyLen)); in KMFPK11_CreateSymKey()
3609 SETATTR(templ, i, CKA_VALUE, keydata, secKeyLen); in KMFPK11_CreateSymKey()
3837 CK_ULONG secKeyLen; in create_generic_secret_key() local
3874 secKeyLen = attrkeylen; in create_generic_secret_key()
3895 secKeyLen = keylen/8; /* in bytes */ in create_generic_secret_key()
3901 buf = malloc(secKeyLen); in create_generic_secret_key()
3916 nread = read(random_fd, buf, secKeyLen); in create_generic_secret_key()
[all …]