/illumos-gate/usr/src/uts/common/gssapi/mechs/krb5/crypto/ |
H A D | decrypt.c | 38 krb5_keyusage usage, const krb5_data *ivec, 74 key, usage, ivec, &input->ciphertext, output)); 37 krb5_c_decrypt(krb5_context context, const krb5_keyblock *key, krb5_keyusage usage, const krb5_data *ivec, const krb5_enc_data *input, krb5_data *output) argument
|
H A D | encrypt.c | 176 krb5_keyusage usage, const krb5_data *ivec, 212 key, usage, ivec, input, &output->ciphertext)); 175 krb5_c_encrypt(krb5_context context, const krb5_keyblock *key, krb5_keyusage usage, const krb5_data *ivec, const krb5_data *input, krb5_enc_data *output) argument
|
/illumos-gate/usr/src/uts/common/gssapi/mechs/krb5/crypto/keyhash_provider/ |
H A D | descbc.c | 46 krb5_const krb5_data *ivec, 56 if (ivec && (ivec->length != MIT_DES_BLOCK_LENGTH)) 65 ivec ? (krb5_data *)ivec : &zero_ivec, input, output); 43 k5_descbc_hash(krb5_context context, krb5_const krb5_keyblock *key, krb5_keyusage usage, krb5_const krb5_data *ivec, krb5_const krb5_data *input, krb5_data *output) argument
|
H A D | k5_kmd5des.c | 62 krb5_const krb5_data *ivec, 76 if (ivec) 157 krb5_const krb5_data *ivec, 175 if (ivec) 59 k5_md5des_hash(krb5_context context, krb5_const krb5_keyblock *key, krb5_keyusage usage, krb5_const krb5_data *ivec, krb5_const krb5_data *input, krb5_data *output) argument 154 k5_md5des_verify(krb5_context context, krb5_const krb5_keyblock *key, krb5_keyusage usage, krb5_const krb5_data *ivec, krb5_const krb5_data *input, krb5_const krb5_data *hash, krb5_boolean *valid) argument
|
/illumos-gate/usr/src/uts/common/gssapi/mechs/krb5/crypto/raw/ |
H A D | raw_decrypt.c | 42 const krb5_data *ivec, const krb5_data *input, 47 return((*(enc->decrypt))(context, key, ivec, input, output)); 38 krb5_raw_decrypt(krb5_context context, const struct krb5_enc_provider *enc, const struct krb5_hash_provider *hash, const krb5_keyblock *key, krb5_keyusage usage, const krb5_data *ivec, const krb5_data *input, krb5_data *output) argument
|
H A D | raw_encrypt.c | 55 const krb5_data *ivec, const krb5_data *input, 58 return((*(enc->encrypt))(context, key, ivec, input, output)); 51 krb5_raw_encrypt(krb5_context context, const struct krb5_enc_provider *enc, const struct krb5_hash_provider *hash, const krb5_keyblock *key, krb5_keyusage usage, const krb5_data *ivec, const krb5_data *input, krb5_data *output) argument
|
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/crypto/hash_provider/ |
H A D | hash_ef_generic.c | 63 krb5_data *ivec, 101 (unsigned char *)ivec->data, 1); 61 k5_ef_mac(krb5_context context, krb5_keyblock *key, krb5_data *ivec, krb5_const krb5_data *input, krb5_data *output) argument
|
/illumos-gate/usr/src/uts/common/gssapi/mechs/krb5/crypto/des/ |
H A D | d3_cbc.c | 37 const mit_des_cblock ivec, int encrypt) 62 mechanism.pParameter = (void*)ivec; 63 if (ivec != NULL) 114 const mit_des_cblock ivec, int encrypt) 121 ivdata.data = (char *)ivec; 35 mit_des3_cbc_encrypt(krb5_context context, const mit_des_cblock *in, mit_des_cblock *out, unsigned long length, krb5_keyblock *key, const mit_des_cblock ivec, int encrypt) argument 110 mit_des3_cbc_encrypt(krb5_context context, const mit_des_cblock *in, mit_des_cblock *out, unsigned long length, krb5_keyblock *key, const mit_des_cblock ivec, int encrypt) argument
|
H A D | ef_crypto.c | 18 const krb5_data *ivec, int encrypt_flag) 53 if (ivec != NULL) { 54 mech.cm_param_len = ivec->length; 55 mech.cm_param = (char *)ivec->data; 16 k5_ef_crypto(const char *in, char *out, long length, krb5_keyblock *key, const krb5_data *ivec, int encrypt_flag) argument
|
H A D | f_cbc.c | 33 mit_des_cbc_encrypt(context, in, out, length, key, ivec, encrypt) 39 mit_des_cblock ivec; 65 mechanism.pParameter = ivec; 66 if (ivec != NULL) 135 mit_des_cblock ivec, int encrypt) 143 ivdata.data = (char *)ivec; 131 mit_des_cbc_encrypt(krb5_context context, const mit_des_cblock *in, mit_des_cblock *out, long length, krb5_keyblock *key, mit_des_cblock ivec, int encrypt) argument
|
H A D | f_cksum.c | 30 const krb5_octet *ivec) 41 ivecdata.data = (char *)ivec; 27 mit_des_cbc_cksum(krb5_context context, const krb5_octet *in, krb5_octet *out, unsigned long length, krb5_keyblock *key, const krb5_octet *ivec) argument
|
/illumos-gate/usr/src/uts/common/gssapi/mechs/krb5/crypto/enc_provider/ |
H A D | des.c | 39 krb5_const krb5_data *ivec, krb5_const krb5_data *input, 51 if (ivec && (ivec->length != 8)) 59 ivec?(unsigned char *)ivec->data: 68 krb5_const krb5_data *ivec, krb5_const krb5_data *input, 71 return(k5_des_docrypt(context, key, ivec, input, output, 1)); 76 krb5_const krb5_data *ivec, krb5_const krb5_data *input, 79 return(k5_des_docrypt(context, key, ivec, input, output, 0)); 38 k5_des_docrypt(krb5_context context, krb5_const krb5_keyblock *key, krb5_const krb5_data *ivec, krb5_const krb5_data *input, krb5_data *output, int encrypt) argument 67 k5_des_encrypt(krb5_context context, krb5_const krb5_keyblock *key, krb5_const krb5_data *ivec, krb5_const krb5_data *input, krb5_data *output) argument 75 k5_des_decrypt(krb5_context context, krb5_const krb5_keyblock *key, krb5_const krb5_data *ivec, krb5_const krb5_data *input, krb5_data *output) argument
|
H A D | des3.c | 38 krb5_const krb5_keyblock *key, krb5_const krb5_data *ivec, 52 if (ivec && (ivec->length != 8)) 60 ivec?(unsigned char *)ivec->data:(unsigned char *)mit_des_zeroblock, 69 krb5_const krb5_keyblock *key, krb5_const krb5_data *ivec, 72 return(k5_des3_docrypt(context, key, ivec, input, output, 1)); 77 krb5_const krb5_keyblock *key, krb5_const krb5_data *ivec, 80 return(k5_des3_docrypt(context, key, ivec, input, output, 0)); 37 k5_des3_docrypt(krb5_context context, krb5_const krb5_keyblock *key, krb5_const krb5_data *ivec, krb5_const krb5_data *input, krb5_data *output, int encrypt) argument 68 k5_des3_encrypt(krb5_context context, krb5_const krb5_keyblock *key, krb5_const krb5_data *ivec, krb5_const krb5_data *input, krb5_data *output) argument 76 k5_des3_decrypt(krb5_context context, krb5_const krb5_keyblock *key, krb5_const krb5_data *ivec, krb5_const krb5_data *input, krb5_data *output) argument
|
/illumos-gate/usr/src/uts/common/gssapi/mechs/krb5/crypto/hash_provider/ |
H A D | hash_kef_generic.c | 90 krb5_data *ivec, 102 ASSERT(ivec != NULL); 124 mech.cm_param = ivec->data; 125 mech.cm_param_len = ivec->length; 88 k5_ef_mac(krb5_context context, krb5_keyblock *key, krb5_data *ivec, const krb5_data *input, krb5_data *output) argument
|
/illumos-gate/usr/src/lib/pkcs11/pkcs11_softtoken/common/ |
H A D | softCrypt.h | 47 uint8_t ivec[DES_BLOCK_LEN]; /* initialization vector */ member in struct:soft_des_ctx 58 uint8_t ivec[AES_BLOCK_LEN]; /* initialization vector */ member in struct:soft_aes_ctx 67 uint8_t ivec[BLOWFISH_BLOCK_LEN]; /* initialization vector */ member in struct:soft_blowfish_ctx
|
H A D | softBlowfishCrypt.c | 488 blowfish_cbc_ctx_init(void *key_sched, size_t size, uint8_t *ivec) argument 498 (void) memcpy(&cbc_ctx->cbc_iv[0], ivec, BLOWFISH_BLOCK_LEN);
|
H A D | softAESCrypt.c | 826 aes_cbc_ctx_init(void *key_sched, size_t size, uint8_t *ivec) argument 837 (void) memcpy(&cbc_ctx->cbc_iv[0], ivec, AES_BLOCK_LEN);
|
H A D | softDESCrypt.c | 799 des_cbc_ctx_init(void *key_sched, size_t size, uint8_t *ivec, CK_KEY_TYPE type) argument 809 (void) memcpy(&cbc_ctx->cbc_iv[0], ivec, DES_BLOCK_LEN); 848 bzero(soft_des_ctx->ivec, DES_BLOCK_LEN); 882 encrypt_mech.pParameter = (void *)soft_des_ctx->ivec;
|
/illumos-gate/usr/src/uts/common/gssapi/mechs/krb5/crypto/old/ |
H A D | old_decrypt.c | 43 const krb5_data *ivec, 83 if (ivec != NULL && ivec->length == blocksize) { 94 if ((key->enctype == ENCTYPE_DES_CBC_CRC) && (ivec == 0)) { 97 ivec = &crcivec; 100 if ((ret = ((*(enc->decrypt))(context, key, ivec, input, &output)))) 130 /* update ivec */ 132 (void) memcpy(ivec->data, cn, blocksize); 38 krb5_old_decrypt(krb5_context context, const struct krb5_enc_provider *enc, const struct krb5_hash_provider *hash, const krb5_keyblock *key, krb5_keyusage usage, const krb5_data *ivec, const krb5_data *input, krb5_data *arg_output) argument
|
H A D | old_encrypt.c | 57 const krb5_data *ivec, 98 if ((key->enctype == ENCTYPE_DES_CBC_CRC) && (ivec == 0)) { 101 ivec = &crcivec; 106 if ((ret = ((*(enc->encrypt))(context, key, ivec, output, output)))) 109 /* update ivec */ 110 if (real_ivec && ivec != NULL && ivec->length == blocksize) 111 (void) memcpy(ivec->data, output->data + output->length - blocksize, 52 krb5_old_encrypt(krb5_context context, const struct krb5_enc_provider *enc, const struct krb5_hash_provider *hash, const krb5_keyblock *key, krb5_keyusage usage, const krb5_data *ivec, const krb5_data *input, krb5_data *output) argument
|
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/crypto/keyhash_provider/ |
H A D | k5_md5des.c | 50 krb5_keyusage usage, const krb5_data *ivec, 64 if (ivec) 156 krb5_const krb5_data *ivec, 173 if (ivec) 49 k5_md5des_hash(krb5_context context, krb5_const krb5_keyblock *key, krb5_keyusage usage, const krb5_data *ivec, const krb5_data *input, krb5_data *output) argument 153 k5_md5des_verify(krb5_context context, krb5_const krb5_keyblock *key, krb5_keyusage usage, krb5_const krb5_data *ivec, krb5_const krb5_data *input, krb5_const krb5_data *hash, krb5_boolean *valid) argument
|
/illumos-gate/usr/src/lib/libcrypt/common/ |
H A D | des.c | 97 cbc_crypt(char *key, char *buf, size_t len, unsigned int mode, char *ivec) argument 103 COPY8(ivec, dp.des_ivec); 105 COPY8(dp.des_ivec, ivec);
|
/illumos-gate/usr/src/uts/common/gssapi/mechs/krb5/crypto/dk/ |
H A D | dk_decrypt.c | 44 const krb5_data *ivec, 55 const krb5_data *ivec, const krb5_data *input, 59 ivec, input, output, 0); 68 const krb5_data *ivec, const krb5_data *input, 72 ivec, input, output, 96 / 8); 81 const krb5_data *ivec, const krb5_data *input, 136 ivec, &d1, &d2))) != 0) 139 if (ivec != NULL && ivec->length == blocksize) { 184 * AES crypto updates the ivec differentl 50 krb5_dk_decrypt( krb5_context context, const struct krb5_enc_provider *enc, const struct krb5_hash_provider *hash, const krb5_keyblock *key, krb5_keyusage usage, const krb5_data *ivec, const krb5_data *input, krb5_data *output) argument 63 krb5int_aes_dk_decrypt( krb5_context context, const struct krb5_enc_provider *enc, const struct krb5_hash_provider *hash, const krb5_keyblock *key, krb5_keyusage usage, const krb5_data *ivec, const krb5_data *input, krb5_data *output) argument 76 krb5_dk_decrypt_maybe_trunc_hmac( krb5_context context, const struct krb5_enc_provider *enc, const struct krb5_hash_provider *hash, const krb5_keyblock *key, krb5_keyusage usage, const krb5_data *ivec, const krb5_data *input, krb5_data *output, size_t hmacsize) argument [all...] |
H A D | dk_encrypt.c | 62 const krb5_data *ivec, const krb5_data *input, 122 ivec, &d1, &d2)))) 125 if (ivec != NULL && ivec->length == blocksize) 150 /* update ivec */ 152 (void) memcpy(ivec->data, cn, blocksize); 225 const krb5_data *ivec, 254 /* key->length, ivec will be tested in enc->encrypt */ 284 if ((ret = ((*(enc->encrypt))(context, derived_encr_key, ivec, &d1, &d2)))) 287 if (ivec ! 58 krb5_dk_encrypt(krb5_context context, const struct krb5_enc_provider *enc, const struct krb5_hash_provider *hash, const krb5_keyblock *key, krb5_keyusage usage, const krb5_data *ivec, const krb5_data *input, krb5_data *output) argument 220 krb5int_aes_dk_encrypt(krb5_context context, const struct krb5_enc_provider *enc, const struct krb5_hash_provider *hash, const krb5_keyblock *key, krb5_keyusage usage, const krb5_data *ivec, const krb5_data *input, krb5_data *output) argument [all...] |
/illumos-gate/usr/src/lib/libnsl/des/ |
H A D | des_crypt.c | 92 cbc_crypt(char *key, char *buf, size_t len, unsigned int mode, char *ivec) argument 98 COPY8(ivec, dp.des_ivec); 100 COPY8(dp.des_ivec, ivec); 170 unsigned int mode, char *ivec) 180 (void) memcpy(svec.c, ivec, sizeof (des_block)); 183 stat = cbc_crypt(keys[j].c, buf, len, m | flags, ivec); 185 (void) memcpy(dvec.c, ivec, sizeof (des_block)); 193 (void) memcpy(ivec, svec.c, sizeof (des_block)); 196 stat = cbc_crypt(keys[0].c, buf, len, mode, ivec); 199 (void) memcpy(ivec, dve 169 desN_crypt(des_block keys[], int keynum, char *buf, unsigned int len, unsigned int mode, char *ivec) argument 207 __cbc_triple_crypt(des_block keys[], char *buf, uint_t len, uint_t mode, char *ivec) argument [all...] |