Searched defs:keybytes (Results 1 - 7 of 7) sorted by relevance

/osnet-11/usr/src/lib/gss_mechs/mech_krb5/crypto/
H A Dkeylengths.c36 * keybytes is the number of bytes required as input to make a key,
41 size_t *keybytes, size_t *keylength)
45 if (keybytes == NULL && keylength == NULL)
56 if (keybytes)
57 *keybytes = krb5_enctypes_list[i].enc->keybytes;
40 krb5_c_keylengths(krb5_context context, krb5_enctype enctype, size_t *keybytes, size_t *keylength) argument
H A Dmake_random_key.c43 size_t keybytes, keylength; local
63 keybytes = enc->keybytes;
66 if ((bytes = (unsigned char *) malloc(keybytes)) == NULL)
74 random_data.length = keybytes;
95 memset(bytes, 0, keybytes);
H A Dstring_to_key.c62 size_t keybytes, keylength; local
87 keybytes = enc->keybytes;
H A Dcf2.c49 size_t keybytes, char **out)
64 iterations = keybytes / prflen;
65 if (keybytes % prflen != 0)
106 size_t keybytes, keylength, i; local
130 keybytes = out_enctype->enc->keybytes;
133 retval = prf_plus(context, k1, pepper1, keybytes, &prf1);
136 retval = prf_plus(context, k2, pepper2, keybytes, &prf2);
139 for (i = 0; i < keybytes; i++)
146 keydata.length = keybytes;
48 prf_plus(krb5_context context, krb5_keyblock *k, const char *pepper, size_t keybytes, char **out) argument
[all...]
/osnet-11/usr/src/lib/gss_mechs/mech_krb5/crypto/dk/
H A Dstringtokey.c46 size_t keybytes, keylength, concatlen; local
53 keybytes = enc->keybytes;
60 if ((foldstring = (unsigned char *) malloc(keybytes)) == NULL) {
76 krb5_nfold(concatlen*8, concat, keybytes*8, foldstring);
78 indata.length = keybytes;
101 memset(foldstring, 0, keybytes);
/osnet-11/usr/src/lib/crypt_modules/bsdbf/
H A Dblowfish.c447 Blowfish_expand0state(blf_ctx *c, const uint8_t *key, uint16_t keybytes) argument
460 temp = Blowfish_stream2word(key, keybytes, &j);
488 const uint8_t *key, uint16_t keybytes)
501 temp = Blowfish_stream2word(key, keybytes, &j);
487 Blowfish_expandstate(blf_ctx *c, const uint8_t *data, uint16_t databytes, const uint8_t *key, uint16_t keybytes) argument
/osnet-11/usr/src/lib/krb5/plugins/preauth/pkinit/
H A Dpkinit_crypto_openssl.c2270 size_t keybytes, keylength, offset; local
2303 retval = krb5_c_keylengths(context, etype, &keybytes, &keylength);
2314 random_data.length = keybytes;

Completed in 55 milliseconds