/illumos-gate/usr/src/uts/common/gssapi/mechs/krb5/crypto/ |
H A D | encrypt_length.c | 33 size_t inputlen, size_t *length) 47 inputlen, length); 32 krb5_c_encrypt_length(krb5_context context, krb5_enctype enctype, size_t inputlen, size_t *length) argument
|
/illumos-gate/usr/src/lib/pkcs11/pkcs11_softtoken/common/ |
H A D | softARCFourCrypt.c | 91 * inputlen: length of the input. 107 CK_ULONG inputlen, CK_BYTE_PTR output, CK_ULONG_PTR outputlenp) 120 *outputlenp = inputlen; 125 if (*outputlenp < inputlen) { 126 *outputlenp = inputlen; 129 arcfour_crypt(keystream, input, output, inputlen); 130 *outputlenp = inputlen; 106 soft_arcfour_crypt(crypto_active_op_t *active_op, CK_BYTE_PTR input, CK_ULONG inputlen, CK_BYTE_PTR output, CK_ULONG_PTR outputlenp) argument
|
/illumos-gate/usr/src/uts/common/gssapi/mechs/krb5/crypto/raw/ |
H A D | raw_encrypt.c | 40 size_t inputlen, size_t *length) 46 *length = krb5_roundup(inputlen, blocksize); 38 krb5_raw_encrypt_length(const struct krb5_enc_provider *enc, const struct krb5_hash_provider *hash, size_t inputlen, size_t *length) argument
|
/illumos-gate/usr/src/grub/grub-0.97/stage2/ |
H A D | md5.c | 152 md5_update (const char *input, int inputlen) argument 155 length += inputlen; 156 if (buflen + inputlen < 64) 158 memcpy (buffer + buflen, input, inputlen); 159 buflen += inputlen; 166 inputlen -= 64 - buflen; 167 while (inputlen >= 64) 171 inputlen -= 64; 173 memcpy (buffer, input, inputlen); 174 buflen = inputlen; [all...] |
/illumos-gate/usr/src/uts/common/gssapi/mechs/krb5/crypto/old/ |
H A D | old_encrypt.c | 39 size_t inputlen, 47 *length = krb5_roundup(blocksize+hashsize+inputlen, blocksize); 37 krb5_old_encrypt_length(const struct krb5_enc_provider *enc, const struct krb5_hash_provider *hash, size_t inputlen, size_t *length) argument
|
/illumos-gate/usr/src/uts/common/gssapi/mechs/krb5/crypto/dk/ |
H A D | dk_encrypt.c | 48 size_t inputlen, size_t *length) 54 *length = krb5_roundup(blocksize+inputlen, blocksize) + hashsize; 167 krb5int_aes_encrypt_length(enc, hash, inputlen, length) 170 size_t inputlen; 180 *length = blocksize+inputlen + hashsize; 46 krb5_dk_encrypt_length(const struct krb5_enc_provider *enc, const struct krb5_hash_provider *hash, size_t inputlen, size_t *length) argument
|
/illumos-gate/usr/src/lib/sasl_plugins/digestmd5/ |
H A D | digestmd5.c | 751 unsigned inputlen, 761 inputlen, 768 padding = output[inputlen - 11]; 775 if (output[inputlen - 10 - p] != padding) { 781 *outputlen = inputlen - padding - 10; 784 memcpy(digest, output + inputlen - 10, 10); 791 unsigned inputlen, 801 paddinglen = 8 - ((inputlen + 10) % 8); 804 memcpy(output, input, inputlen); /* text */ 805 memset(output+inputlen, paddingle 749 dec_3des(context_t *text, const char *input, unsigned inputlen, unsigned char digest[16], char *output, unsigned *outputlen) argument 789 enc_3des(context_t *text, const char *input, unsigned inputlen, unsigned char digest[16], char *output, unsigned *outputlen) argument 870 dec_des(context_t *text, const char *input, unsigned inputlen, unsigned char digest[16], char *output, unsigned *outputlen) argument 913 enc_des(context_t *text, const char *input, unsigned inputlen, unsigned char digest[16], char *output, unsigned *outputlen) argument 1141 dec_rc4(context_t *text, const char *input, unsigned inputlen, unsigned char digest[16], char *output, unsigned *outputlen) argument 1162 enc_rc4(context_t *text, const char *input, unsigned inputlen, unsigned char digest[16], char *output, unsigned *outputlen) argument 1470 dec_rc4_uef(context_t *text, const char *input, unsigned inputlen, unsigned char digest[16], char *output, unsigned *outputlen) argument 1510 enc_rc4_uef(context_t *text, const char *input, unsigned inputlen, unsigned char digest[16], char *output, unsigned *outputlen) argument 1551 dec_des_uef(context_t *text, const char *input, unsigned inputlen, unsigned char digest[16], char *output, unsigned *outputlen) argument 1605 enc_des_uef(context_t *text, const char *input, unsigned inputlen, unsigned char digest[16], char *output, unsigned *outputlen) argument 1811 digestmd5_privacy_decode_once(void *context, const char **input, unsigned *inputlen, char **output, unsigned *outputlen) argument 1985 digestmd5_privacy_decode(void *context, const char *input, unsigned inputlen, const char **output, unsigned *outputlen) argument 2080 create_MAC(context_t * text, char *input, int inputlen, int seqnum, unsigned char MAC[16]) argument 2166 digestmd5_integrity_decode_once(void *context, const char **input, unsigned *inputlen, char **output, unsigned *outputlen) argument 2246 digestmd5_integrity_decode(void *context, const char *input, unsigned inputlen, const char **output, unsigned *outputlen) argument [all...] |
/illumos-gate/usr/src/lib/libsasl/include/ |
H A D | plugin_common.h | 195 const char *input, unsigned inputlen, 198 const char **input, unsigned *inputlen,
|
H A D | sasl.h | 1060 * inputlen & input -- client data 1237 * SASL_BADPARAM -- inputlen is greater than the SASL_MAXOUTBUF 1240 const char *input, unsigned inputlen, 1269 const char *input, unsigned inputlen,
|
H A D | saslplug.h | 203 int (*decode)(void *context, const char *input, unsigned inputlen,
|
/illumos-gate/usr/src/lib/sasl_plugins/gssapi/ |
H A D | gssapi.c | 462 const char **input, unsigned *inputlen, 484 int tocopy = myMIN(text->needsize, *inputlen); 489 *inputlen -= tocopy; 514 if (*inputlen == 0) { 525 if (*inputlen < diff) { 527 memcpy(text->buffer + text->cursize, *input, *inputlen); 528 text->cursize += *inputlen; 529 *inputlen = 0; 536 *inputlen -= diff; 604 const char *input, unsigned inputlen, 461 gssapi_decode_once(void *context, const char **input, unsigned *inputlen, char **output, unsigned *outputlen) argument 603 gssapi_decode(void *context, const char *input, unsigned inputlen, const char **output, unsigned *outputlen) argument [all...] |
/illumos-gate/usr/src/uts/common/gssapi/mechs/krb5/crypto/arcfour/ |
H A D | k5_arcfour.c | 21 krb5_arcfour_encrypt_length(enc, hash, inputlen, length) 24 size_t inputlen; 32 /* checksum + (confounder + inputlen, in even blocksize) */ 33 *length = hashsize + krb5_roundup(8 + inputlen, blocksize);
|
/illumos-gate/usr/src/lib/libsasl/plugin/ |
H A D | plugin_common.c | 714 const char *input, unsigned inputlen, 719 const char **input, unsigned *inputlen, 728 while (inputlen!=0) 731 ret = decode_pkt(context, &input, &inputlen, &tmp, &tmplen); 712 _plug_decode(const sasl_utils_t *utils, void *context, const char *input, unsigned inputlen, char **output, unsigned *outputsize, unsigned *outputlen, int (*decode_pkt)(void *context, const char **input, unsigned *inputlen, char **output, unsigned *outputlen)) argument
|
/illumos-gate/usr/src/lib/libsasl/lib/ |
H A D | common.c | 271 unsigned inputlen, 278 if(!input || !inputlen || !output || !outputlen) 287 tmp.iov_len = inputlen; 362 const char *input, unsigned inputlen, 397 if(inputlen > conn->props.maxbufsize) { 413 memcpy(conn->decode_buf, input, inputlen); 414 conn->decode_buf[inputlen] = '\0'; 416 *outputlen = inputlen; 424 result = conn->oparams.decode(conn->context, input, inputlen, 270 sasl_encode(sasl_conn_t *conn, const char *input, unsigned inputlen, const char **output, unsigned *outputlen) argument 361 sasl_decode(sasl_conn_t *conn, const char *input, unsigned inputlen, const char **output, unsigned *outputlen) argument
|
/illumos-gate/usr/src/uts/common/gssapi/mechs/krb5/include/ |
H A D | k5-int.h | 837 size_t inputlen, size_t *length);
|
H A D | krb5.h | 536 size_t inputlen, size_t *length);
|