Searched refs:iv (Results 1 - 25 of 30) sorted by relevance

12

/osnet-11/usr/src/grub/grub2/grub-core/fs/zfs/
H A Dzfscrypt.c100 grub_uint8_t iv[16]; local
106 grub_memcpy (iv + 1, nonce, 15 - l);
108 iv[0] = (l - 1) | (((m-2) / 2) << 3);
110 iv[15 - j] = psize >> (8 * j);
111 err = grub_crypto_ecb_encrypt (cipher, mac, iv, 16);
115 iv[0] = l - 1;
124 iv[15 - j] = (i + 1) >> (8 * j);
125 err = grub_crypto_ecb_encrypt (cipher, mul, iv, 16);
135 iv[15 - j] = 0;
136 err = grub_crypto_ecb_encrypt (cipher, mul, iv, 1
183 grub_uint8_t iv[16]; local
[all...]
/osnet-11/usr/src/lib/libsoftcrypto/common/
H A Dlibsoftcrypto.h97 void *iv, size_t iv_len);
107 size_t key_len, void *iv, size_t iv_len, uchar_t *in,
113 void *iv, size_t iv_len);
123 size_t key_len, void *iv, size_t iv_len, uchar_t *in,
128 uchar_t *key_str, size_t key_len, void *iv, size_t iv_len);
138 uchar_t *key_str, size_t key_len, void *iv, size_t iv_len,
143 uchar_t *key_str, size_t key_len, void *iv, size_t iv_len);
153 uchar_t *key_str, size_t key_len, void *iv, size_t iv_len,
H A Dcrypt.c59 uchar_t *key_str, size_t key_len, void *iv, size_t iv_len,
66 size_t key_len, void *iv, size_t iv_len, uchar_t *in, size_t in_len,
75 void *iv, size_t iv_len);
225 void *iv, size_t iv_len)
231 mech->cm_param = (char *)iv;
250 uchar_t *key_str, size_t key_len, void *iv, size_t iv_len,
257 rv = set_mechanism(&mech, mech_type, iv, iv_len);
463 void *iv, size_t iv_len, uchar_t *in, size_t in_len,
518 rv = set_mechanism(&mech, mech_type, iv, iv_len);
615 uchar_t *key_str, size_t key_len, void *iv, size_
224 set_mechanism(crypto_mechanism_t *mech, ucrypto_mech_t mech_type, void *iv, size_t iv_len) argument
249 ucrypto_common_init(crypto_ctx_t *context, ucrypto_mech_t mech_type, uchar_t *key_str, size_t key_len, void *iv, size_t iv_len, ucrypto_op_t op_type) argument
462 ucrypto_atomic(ucrypto_mech_t mech_type, uchar_t *key_str, size_t key_len, void *iv, size_t iv_len, uchar_t *in, size_t in_len, uchar_t *out, size_t *out_len, ucrypto_op_t op_type) argument
614 ucrypto_encrypt_init(crypto_ctx_t *context, ucrypto_mech_t mech_type, uchar_t *key_str, size_t key_len, void *iv, size_t iv_len) argument
667 ucrypto_encrypt(ucrypto_mech_t mech_type, uchar_t *key_str, size_t key_len, void *iv, size_t iv_len, uchar_t *in, size_t in_len, uchar_t *out, size_t *out_len) argument
690 ucrypto_decrypt_init(crypto_ctx_t *context, ucrypto_mech_t mech_type, uchar_t *key_str, size_t key_len, void *iv, size_t iv_len) argument
728 ucrypto_decrypt(ucrypto_mech_t mech_type, uchar_t *key_str, size_t key_len, void *iv, size_t iv_len, uchar_t *in, size_t in_len, uchar_t *out, size_t *out_len) argument
750 ucrypto_sign_init(crypto_ctx_t *context, ucrypto_mech_t mech_type, uchar_t *key_str, size_t key_len, void *iv, size_t iv_len) argument
772 ucrypto_sign(ucrypto_mech_t mech_type, uchar_t *key_str, size_t key_len, void *iv, size_t iv_len, uchar_t *data_str, size_t data_len, uchar_t *sig_str, size_t *sig_len) argument
782 ucrypto_verify_init(crypto_ctx_t *context, ucrypto_mech_t mech_type, uchar_t *key_str, size_t key_len, void *iv, size_t iv_len) argument
804 ucrypto_verify(ucrypto_mech_t mech_type, uchar_t *key_str, size_t key_len, void *iv, size_t iv_len, uchar_t *data_str, size_t data_len, uchar_t *sig_str, size_t *sig_len) argument
[all...]
/osnet-11/usr/src/grub/grub2/grub-core/lib/libgcrypt/cipher/
H A Dcipher.c177 void (*cfb_enc)(void *context, unsigned char *iv,
180 void (*cfb_dec)(void *context, unsigned char *iv,
183 void (*cbc_enc)(void *context, unsigned char *iv,
186 void (*cbc_dec)(void *context, unsigned char *iv,
200 unsigned char iv[MAX_BLOCKSIZE]; member in union:gcry_cipher_handle::__anon499
896 cipher_setiv( gcry_cipher_hd_t c, const byte *iv, unsigned ivlen )
898 memset (c->u_iv.iv, 0, c->cipher->blocksize);
899 if (iv)
909 memcpy (c->u_iv.iv, iv, ivle
894 cipher_setiv( gcry_cipher_hd_t c, const byte *iv, unsigned ivlen ) argument
1608 _gcry_cipher_setiv(gcry_cipher_hd_t hd, const void *iv, size_t ivlen) argument
[all...]
H A Drijndael.c492 _gcry_aes_cfb_enc (void *context, unsigned char *iv,
509 do_padlock (ctx, 0, iv, iv);
511 for (ivp=iv,i=0; i < BLOCKSIZE; i++ )
521 do_encrypt_aligned (ctx, iv, iv);
523 for (ivp=iv,i=0; i < BLOCKSIZE; i++ )
537 _gcry_aes_cbc_enc (void *context, unsigned char *iv,
549 for (ivp=iv, i=0; i < BLOCKSIZE; i++ )
559 memcpy (iv, outbu
491 _gcry_aes_cfb_enc(void *context, unsigned char *iv, void *outbuf_arg, const void *inbuf_arg, unsigned int nblocks) argument
536 _gcry_aes_cbc_enc(void *context, unsigned char *iv, void *outbuf_arg, const void *inbuf_arg, unsigned int nblocks, int cbc_mac) argument
719 _gcry_aes_cfb_dec(void *context, unsigned char *iv, void *outbuf_arg, const void *inbuf_arg, unsigned int nblocks) argument
769 _gcry_aes_cbc_dec(void *context, unsigned char *iv, void *outbuf_arg, const void *inbuf_arg, unsigned int nblocks) argument
938 const unsigned char iv[16]; member in struct:tv
[all...]
/osnet-11/usr/src/lib/libnisdb/
H A Dldap_attr.c341 int irv, iv, ndn; local
356 for (iv = 0; iv < rv[irv].numAttrs; iv++) {
358 if (rv[irv].attrName[iv] != 0 &&
359 rv[irv].attrVal[iv].type == vt_string &&
360 rv[irv].attrVal[iv].numVals >= 1 &&
361 strcasecmp("dn", rv[irv].attrName[iv]) == 0) {
364 rv[irv].attrVal[iv].val[0].value,
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/ext/B/
H A DB.xs216 IV iv;
219 for (iv = 0; iv < sizeof(specialsv_list)/sizeof(SV*); iv++) {
220 if (sv == specialsv_list[iv]) {
227 iv = PTR2IV(sv);
229 sv_setiv(newSVrv(arg, type), iv);
1118 IV iv = SvIVX(sv);
1127 wp[0] = htonl(((UV)iv) >> (sizeof(UV)*4));
1129 wp[0] = htonl(((U32)iv) >> (sizeo
[all...]
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/ext/B/B/
H A DStackobj.pm71 return $obj->{iv};
91 return $obj->{iv};
131 return $obj->{iv};
145 runtime("$obj->{iv} = $expr;");
187 iv => "$iname",
195 runtime("$obj->{iv} = $obj->{nv};");
197 runtime("$obj->{iv} = SvIV($obj->{sv});");
224 runtime("sv_setuv($obj->{sv}, $obj->{iv});");
226 runtime("sv_setiv($obj->{sv}, $obj->{iv});");
256 $obj->{nv} = $obj->{iv}
[all...]
H A DCC.pm228 ${$lexstate{$bblock}}{$lex->{iv}} = $lex->{flags} ;
234 my $old_flags=${$lexstate{$bblock}}{$lex->{iv}} ;
448 sprintf("%s=0",$pad[$ix]->{iv}):$pad[$ix]->{iv}) if $pad[$ix]->save_int;
/osnet-11/usr/src/grub/grub2/grub-core/disk/
H A Dcryptodisk.c111 void *iv)
125 grub_crypto_xor (outptr, outptr, iv, cipher->cipher->blocksize);
126 grub_crypto_xor (iv, ivt, outptr, cipher->cipher->blocksize);
141 const grub_uint8_t *iv)
146 grub_memcpy (idx, iv, GRUB_CRYPTODISK_GF_BYTES);
209 grub_uint32_t iv[sz]; local
223 grub_memset (iv, 0, sz * sizeof (iv[0]));
241 grub_memcpy (iv, dev->iv_hash->read (ctx), sizeof (iv));
109 grub_crypto_pcbc_decrypt(grub_crypto_cipher_handle_t cipher, void *out, void *in, grub_size_t size, void *iv) argument
139 generate_lrw_sector(struct lrw_sector *sec, const struct grub_cryptodisk *dev, const grub_uint8_t *iv) argument
[all...]
/osnet-11/usr/src/grub/grub2/grub-core/lib/
H A Dcrypto.c212 void *iv; local
218 iv = iv_in;
222 grub_crypto_xor (outptr, inptr, iv, cipher->cipher->blocksize);
224 iv = outptr;
226 grub_memcpy (iv_in, iv, cipher->cipher->blocksize);
233 void *iv)
248 grub_crypto_xor (outptr, outptr, iv, cipher->cipher->blocksize);
249 grub_memcpy (iv, ivt, cipher->cipher->blocksize);
231 grub_crypto_cbc_decrypt(grub_crypto_cipher_handle_t cipher, void *out, const void *in, grub_size_t size, void *iv) argument
/osnet-11/usr/src/lib/pkcs11/pkcs11_softtoken/common/
H A DsoftKeystoreUtil.c136 * 2) iv: initialization vector for encrypted data in the object. This
1179 soft_gen_iv(CK_BYTE *iv) argument
1181 return (pkcs11_get_nzero_urandom(iv, 16) < 0 ?
1254 CK_BYTE iv[OBJ_IV_SIZE], old_iv[OBJ_IV_SIZE]; local
1301 /* read old iv */
1307 if (soft_gen_iv(iv) != CKR_OK) {
1311 if (writen_nointr(new_fd, (char *)iv, OBJ_IV_SIZE) != OBJ_IV_SIZE) {
1349 if (soft_keystore_crypt(new_enc_key, iv, B_TRUE, decrypted_buf,
1361 if (soft_keystore_crypt(new_enc_key, iv, B_TRUE, decrypted_buf,
2033 uchar_t iv[OBJ_IV_SIZ local
2206 CK_BYTE iv[OBJ_IV_SIZE]; local
2483 uchar_t iv[OBJ_IV_SIZE], obj_hmac[OBJ_HMAC_SIZE]; local
[all...]
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/ext/XS/Typemap/
H A DTypemap.xs209 T_IV( iv )
210 long iv
212 RETVAL = iv;
/osnet-11/usr/src/lib/gss_mechs/mech_krb5/crypto/keyhash_provider/
H A Dhmac_md5.c45 const krb5_data *iv,
43 k5_hmac_md5_hash(krb5_context context, const krb5_keyblock *key, krb5_keyusage usage, const krb5_data *iv, const krb5_data *input, krb5_data *output) argument
/osnet-11/usr/src/cmd/perl/contrib/Sun/Solaris/Exacct/
H A DExacct.xs113 SV *iv, *ref;
115 iv = newSVuv(cat);
116 ref = newRV_noinc(iv);
118 SvREADONLY_on(iv);
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/ext/Storable/
H A DStorable.xs1868 IV iv;
1948 iv = SvIV(sv);
1950 * Will come here from below with iv set if double is an integer.
1956 /* Need to do this out here, else 0xFFFFFFFF becomes iv of -1
1970 if (iv >= -128 && iv <= 127) {
1971 unsigned char siv = (unsigned char) (iv + 128); /* [0,255] */
1989 (iv > 0x7FFFFFFF) || (iv < -0x80000000)) {
1991 TRACEME(("large network order integer as string, value = %"IVdf, iv));
[all...]
/osnet-11/usr/src/lib/crypt_modules/bsdbf/
H A Dblowfish.c622 blf_cbc_encrypt(blf_ctx *c, uint8_t *iv, uint8_t *data, uint32_t len) argument
630 data[j] ^= iv[j];
642 iv = data;
653 uint8_t *iv; local
656 iv = data + len - 16;
671 data[j] ^= iv[j];
672 iv -= 8;
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/
H A Dpp.c911 IV iv = SvIVX(TOPm1s); local
912 if (iv >= 0) {
913 baseuv = iv;
916 baseuv = -iv; /* abs, baseuok == false records sign */
926 IV iv = SvIVX(TOPs); local
927 if (iv >= 0) {
928 power = iv;
1976 IV iv; local
1981 /* swap. top of stack (b) is the iv */
1982 iv
2784 IV iv = TOPi; /* attempt to convert to IV if possible. */ local
2824 IV iv = TOPi; local
[all...]
H A Dsv.c1281 IV iv = 0; local
1301 iv = 0;
1310 iv = SvIVX(sv);
1325 iv = I_V(nv);
1337 iv = PTR2IV(pv);
1347 iv = 0;
1361 iv = SvIVX(sv);
1371 iv = SvIVX(sv);
1381 iv = SvIVX(sv);
1396 SvIVX(sv) = iv;
2903 uiv_2buf(char *buf, IV iv, UV uv, int is_uv, char **peob) argument
4126 IV iv = len; local
7783 Perl_sv_setref_iv(pTHX_ SV *rv, const char *classname, IV iv) argument
7785 sv_setiv(newSVrv(rv,classname), iv); local
8035 Perl_sv_setpviv(pTHX_ SV *sv, IV iv) argument
8053 Perl_sv_setpviv_mg(pTHX_ SV *sv, IV iv) argument
8446 IV iv = 0; local
10342 IV iv; local
[all...]
H A Dperl.h2513 #define CLUMP_2UV(iv) ((iv) < 0 ? 0 : (UV)(iv))
/osnet-11/usr/src/grub/grub2/include/grub/
H A Dcrypto.h250 void *iv);
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/lib/Locale/
H A DScript.pm234 iv:ivl:610:Indus Valley
/osnet-11/usr/src/lib/pkcs11/include/
H A Dpkcs11t.h1470 CK_BYTE iv[8]; /* IV for CBC mode */ member in struct:CK_RC2_CBC_PARAMS
1535 CK_BYTE iv[8]; member in struct:CK_DES_CBC_ENCRYPT_DATA_PARAMS
1543 CK_BYTE iv[16]; member in struct:CK_AES_CBC_ENCRYPT_DATA_PARAMS
1869 CK_BYTE iv[16]; member in struct:CK_CAMELLIA_CBC_ENCRYPT_DATA_PARAMS
1878 CK_BYTE iv[16]; member in struct:CK_ARIA_CBC_ENCRYPT_DATA_PARAMS
/osnet-11/usr/src/lib/libslp/clib/
H A Dslp_ami.h235 ami_octetstring iv; member in union:ami_rc2_cbc_param::__anon2588
238 ami_octetstring iv; member in struct:ami_rc2_cbc_param::__anon2588::_seq1
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/ext/POSIX/
H A DPOSIX.xs802 int_macro_int(sv, iv)
810 IV iv;
812 /* Change this to int_macro_int(s, len, &iv, &nv);
814 type = int_macro_int(s, len, &iv);
832 PUSHi(iv);

Completed in 112 milliseconds

12