Home
last modified time | relevance | path

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

/titanic_41/usr/src/lib/gss_mechs/mech_krb5/crypto/
H A Dkeylengths.c41 size_t *keybytes, size_t *keylength) in krb5_c_keylengths() argument
45 if (keybytes == NULL && keylength == NULL) in krb5_c_keylengths()
58 if (keylength) in krb5_c_keylengths()
59 *keylength = krb5_enctypes_list[i].enc->keylength; in krb5_c_keylengths()
H A Dmake_random_key.c43 size_t keybytes, keylength; in krb5_c_make_random_key() local
64 keylength = enc->keylength; in krb5_c_make_random_key()
68 if ((random_key->contents = (krb5_octet *) malloc(keylength)) == NULL) { in krb5_c_make_random_key()
81 random_key->length = keylength; in krb5_c_make_random_key()
99 memset(random_key->contents, 0, keylength); in krb5_c_make_random_key()
H A Dstring_to_key.c62 size_t keybytes, keylength; in krb5_c_string_to_key_with_params() local
88 keylength = enc->keylength; in krb5_c_string_to_key_with_params()
90 if ((key->contents = (krb5_octet *) malloc(keylength)) == NULL) in krb5_c_string_to_key_with_params()
95 key->length = keylength; in krb5_c_string_to_key_with_params()
104 memset(key->contents, 0, keylength); in krb5_c_string_to_key_with_params()
H A Dpkcs11slot.c144 size_t keysize, keylength; in slot_supports_krb5() local
159 keylength = krb5_enctypes_list[i].enc->keylength; in slot_supports_krb5()
161 if (keylength > info.ulMaxKeySize) { in slot_supports_krb5()
H A Drandom_to_key.c64 if (random_key->length != enc->keylength) in krb5_c_random_to_key()
/titanic_41/usr/src/lib/gss_mechs/mech_krb5/crypto/dk/
H A Dstringtokey.c46 size_t keybytes, keylength, concatlen; in krb5int_dk_string_to_key() local
54 keylength = enc->keylength; in krb5int_dk_string_to_key()
64 if ((foldkeydata = (unsigned char *) malloc(keylength)) == NULL) { in krb5int_dk_string_to_key()
84 foldkey.length = keylength; in krb5int_dk_string_to_key()
102 memset(foldkeydata, 0, keylength); in krb5int_dk_string_to_key()
/titanic_41/usr/src/uts/common/gssapi/mechs/krb5/crypto/
H A Dcombine_keys.c84 size_t keybytes, keylength; in krb5int_c_combine_keys() local
112 keylength = enc->keylength; in krb5int_c_combine_keys()
139 if ((output = (unsigned char *) malloc(keylength)) == NULL) { in krb5int_c_combine_keys()
213 tkey.length = keylength; in krb5int_c_combine_keys()
248 outkey->contents = (krb5_octet *) malloc(keylength); in krb5int_c_combine_keys()
253 outkey->length = keylength; in krb5int_c_combine_keys()
284 memset(output, 0, keylength); in krb5int_c_combine_keys()
307 size_t blocksize, keybytes, keylength, n; in dr() local
313 keylength = enc->keylength; in dr()
/titanic_41/usr/src/cmd/cmd-crypto/pktool/
H A Dgenkeypair.c59 uint32_t keylength; in genkeypair_pkcs11() local
61 keylength = keylen; /* bits */ in genkeypair_pkcs11()
80 KMF_KEYLENGTH_ATTR, &keylength, in genkeypair_pkcs11()
81 sizeof (keylength)); in genkeypair_pkcs11()
144 uint32_t keylength; in genkeypair_file() local
163 keylength = keylen; /* bits */ in genkeypair_file()
178 KMF_KEYLENGTH_ATTR, &keylength, in genkeypair_file()
179 sizeof (keylength)); in genkeypair_file()
238 uint32_t keylength; in genkeypair_nss() local
247 keylength = keylen; /* bits */ in genkeypair_nss()
[all …]
H A Dgenkey.c48 uint32_t keylength; in genkey_nss() local
63 keylength = keylen; in genkey_nss()
78 KMF_KEYLENGTH_ATTR, &keylength, sizeof (keylength)); in genkey_nss()
124 uint32_t keylength; in genkey_pkcs11() local
167 keylength = keylen; /* bits */ in genkey_pkcs11()
182 KMF_KEYLENGTH_ATTR, &keylength, sizeof (keylength)); in genkey_pkcs11()
267 uint32_t keylength; in genkey_file() local
286 keylength = keylen; in genkey_file()
303 KMF_KEYLENGTH_ATTR, &keylength, sizeof (keylength)); in genkey_file()
H A Dgencert.c65 uint32_t keylength; in gencert_pkcs11() local
86 keylength = keylen; /* bits */ in gencert_pkcs11()
99 keytype, keylength, tokencred, curveoid, &prik, &pubk); in gencert_pkcs11()
/titanic_41/usr/src/uts/common/gssapi/mechs/krb5/crypto/dk/
H A Dderive.c264 size_t blocksize, keybytes, keylength, n; local
273 keylength = enc->keylength;
276 if ((inkey->length != keylength) ||
277 (outkey->length != keylength))
/titanic_41/usr/src/cmd/cmd-crypto/elfsign/
H A Delfsign.c745 uint32_t keylength; in create_csr() local
796 keylength = ES_DEFAULT_KEYSIZE; in create_csr()
806 KMF_KEYLENGTH_ATTR, &keylength, sizeof (keylength)); in create_csr()
/titanic_41/usr/src/cmd/sendmail/src/
H A Dtls.c1458 tmp_rsa_key(s, export, keylength) in tmp_rsa_key() argument
1461 int keylength;
/titanic_41/usr/src/lib/krb5/plugins/preauth/pkinit/
H A Dpkinit_crypto_openssl.c2091 size_t keybytes, keylength, offset; in pkinit_octetstring2key() local
2124 retval = krb5_c_keylengths(context, etype, &keybytes, &keylength); in pkinit_octetstring2key()
2128 key_block->length = keylength; in pkinit_octetstring2key()
2129 key_block->contents = calloc(keylength, sizeof(unsigned char *)); in pkinit_octetstring2key()
/titanic_41/usr/src/uts/common/gssapi/mechs/krb5/include/
H A Dk5-int.h782 size_t block_size, keybytes, keylength; member
H A Dkrb5.h546 size_t *keybytes, size_t *keylength);
/titanic_41/usr/src/cmd/sendmail/cf/
H A DREADME2772 ${cipher_bits} the keylength (in bits) of the symmetric encryption algorithm