/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/crypto/ |
H A D | keylengths.c | 36 * 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 D | make_random_key.c | 43 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 D | string_to_key.c | 62 size_t keybytes, keylength; local 87 keybytes = enc->keybytes;
|
H A D | pkcs11slot.c | 158 keysize = krb5_enctypes_list[i].enc->keybytes;
|
/illumos-gate/usr/src/uts/common/gssapi/mechs/krb5/crypto/ |
H A D | combine_keys.c | 84 size_t keybytes, keylength; local 111 keybytes = enc->keybytes; 118 if ((r1 = (unsigned char *) malloc(keybytes)) == NULL) 121 if ((r2 = (unsigned char *) malloc(keybytes)) == NULL) { 126 if ((rnd = (unsigned char *) malloc(keybytes)) == NULL) { 132 if ((combined = (unsigned char *) malloc(keybytes * 2)) == NULL) { 162 for (i = 0; i < keybytes; i++) 178 for (i = 0; i < keybytes; i++) 191 memcpy(combined, r1, keybytes); 307 size_t blocksize, keybytes, keylength, n; local [all...] |
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/crypto/dk/ |
H A D | stringtokey.c | 46 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);
|
/illumos-gate/usr/src/uts/common/gssapi/mechs/krb5/crypto/dk/ |
H A D | derive.c | 264 size_t blocksize, keybytes, keylength, n; local 272 keybytes = enc->keybytes; 289 if ((rawkey = (unsigned char *) MALLOC(keybytes)) == NULL) { 312 while (n < keybytes) { 320 if ((keybytes - n) <= outblock.length) { 321 (void) memcpy(rawkey+n, outblock.data, (keybytes - n)); 332 inblock.length = keybytes; 341 (void) memset(rawkey, 0, keybytes); 343 FREE(rawkey, keybytes); [all...] |
/illumos-gate/usr/src/uts/common/gssapi/mechs/krb5/crypto/arcfour/ |
H A D | k5_arcfour.c | 86 size_t keybytes, blocksize, hashsize; local 90 keybytes = enc->keybytes; 99 d1.length=keybytes; 114 d2.length=keybytes; 131 d3.length=keybytes; 282 size_t keybytes, hashsize; local 285 keybytes = enc->keybytes; 300 d1.length=keybytes; [all...] |
/illumos-gate/usr/src/lib/crypt_modules/bsdbf/ |
H A D | blowfish.c | 435 Blowfish_expand0state(blf_ctx *c, const uint8_t *key, uint16_t keybytes) argument 447 temp = Blowfish_stream2word(key, keybytes, &j); 474 const uint8_t *key, uint16_t keybytes) 486 temp = Blowfish_stream2word(key, keybytes, &j); 473 Blowfish_expandstate(blf_ctx *c, const uint8_t *data, uint16_t databytes, const uint8_t *key, uint16_t keybytes) argument
|
/illumos-gate/usr/src/uts/common/io/ |
H A D | cryptmod.c | 807 int constlen, char *dkey, int keybytes, 818 rawkey = kmem_zalloc(keybytes, KM_SLEEP); 846 while (n < keybytes) { 856 if (keybytes - n < blocklen) { 857 bcopy(inblock, rawkey+n, (keybytes-n)); 890 bcopy(rawkey, dkey, keybytes); 895 kmem_free(rawkey, keybytes); 912 int keybytes; local 931 keybytes = 8; 934 keybytes 806 derive_key(struct cipher_data_t *cdata, uchar_t *constdata, int constlen, char *dkey, int keybytes, int blocklen) argument [all...] |
/illumos-gate/usr/src/uts/common/gssapi/mechs/krb5/include/ |
H A D | k5-int.h | 780 /* keybytes is the input size to make_key; 782 size_t block_size, keybytes, keylength; member in struct:krb5_enc_provider
|
H A D | krb5.h | 546 size_t *keybytes, size_t *keylength);
|
/illumos-gate/usr/src/lib/krb5/plugins/preauth/pkinit/ |
H A D | pkinit_crypto_openssl.c | 2091 size_t keybytes, keylength, offset; local 2124 retval = krb5_c_keylengths(context, etype, &keybytes, &keylength); 2135 random_data.length = keybytes;
|