Searched refs:iv (Results 151 - 175 of 281) sorted by last modified time

1234567891011>>

/freebsd-11-stable/crypto/openssl/engines/ccgost/
H A Dgost_lcl.h115 ASN1_OCTET_STRING *iv; member in struct:__anon6463
/freebsd-11-stable/crypto/openssl/engines/
H A De_padlock.c269 unsigned char iv[AES_BLOCK_SIZE]; /* Initialization vector */ local
440 { void *iv; \
446 : "=a"(iv), "=c"(cnt), "=D"(out), "=S"(inp) \
449 return iv; \
676 const unsigned char *iv, int enc);
789 const unsigned char *iv, int enc)
867 void *iv; local
878 memcpy(cdata->iv, ctx->iv, AES_BLOCK_SIZE);
879 iv
788 padlock_aes_init_key(EVP_CIPHER_CTX *ctx, const unsigned char *key, const unsigned char *iv, int enc) argument
924 void *iv; local
[all...]
/freebsd-11-stable/crypto/openssl/crypto/rc2/
H A Drc2.h91 RC2_KEY *ks, unsigned char *iv, int enc);
H A Drc2_cbc.c63 RC2_KEY *ks, unsigned char *iv, int encrypt)
71 c2l(iv, tout0);
72 c2l(iv, tout1);
73 iv -= 8;
99 l2c(tout0, iv);
100 l2c(tout1, iv);
102 c2l(iv, xor0);
103 c2l(iv, xor1);
104 iv -= 8;
130 l2c(xor0, iv);
62 RC2_cbc_encrypt(const unsigned char *in, unsigned char *out, long length, RC2_KEY *ks, unsigned char *iv, int encrypt) argument
[all...]
H A Drc2cfb64.c76 unsigned char *iv, c, cc; local
78 iv = (unsigned char *)ivec;
82 c2l(iv, v0);
84 c2l(iv, v1);
87 iv = (unsigned char *)ivec;
89 l2c(t, iv);
91 l2c(t, iv);
92 iv = (unsigned char *)ivec;
94 c = *(in++) ^ iv[n];
96 iv[
[all...]
H A Drc2ofb64.c77 unsigned char *iv; local
80 iv = (unsigned char *)ivec;
81 c2l(iv, v0);
82 c2l(iv, v1);
104 iv = (unsigned char *)ivec;
105 l2c(v0, iv);
106 l2c(v1, iv);
H A Drc2test.c189 memcpy(iv, k, 8);
190 idea_cbc_encrypt((unsigned char *)text, out, strlen(text) + 1, &key, iv,
192 memcpy(iv, k, 8);
193 idea_cbc_encrypt(out, out, 8, &dkey, iv, 0);
194 idea_cbc_encrypt(&(out[8]), &(out[8]), strlen(text) + 1 - 8, &dkey, iv,
/freebsd-11-stable/crypto/openssl/crypto/bf/
H A Dbf_cfb64.c76 unsigned char *iv, c, cc; local
78 iv = (unsigned char *)ivec;
82 n2l(iv, v0);
84 n2l(iv, v1);
87 iv = (unsigned char *)ivec;
89 l2n(t, iv);
91 l2n(t, iv);
92 iv = (unsigned char *)ivec;
94 c = *(in++) ^ iv[n];
96 iv[
[all...]
H A Dbf_ofb64.c77 unsigned char *iv; local
80 iv = (unsigned char *)ivec;
81 n2l(iv, v0);
82 n2l(iv, v1);
104 iv = (unsigned char *)ivec;
105 l2n(v0, iv);
106 l2n(v1, iv);
/freebsd-11-stable/crypto/openssl/crypto/idea/
H A Di_cbc.c63 long length, IDEA_KEY_SCHEDULE *ks, unsigned char *iv,
72 n2l(iv, tout0);
73 n2l(iv, tout1);
74 iv -= 8;
100 l2n(tout0, iv);
101 l2n(tout1, iv);
103 n2l(iv, xor0);
104 n2l(iv, xor1);
105 iv -= 8;
131 l2n(xor0, iv);
62 idea_cbc_encrypt(const unsigned char *in, unsigned char *out, long length, IDEA_KEY_SCHEDULE *ks, unsigned char *iv, int encrypt) argument
[all...]
H A Di_cfb64.c76 unsigned char *iv, c, cc; local
78 iv = (unsigned char *)ivec;
82 n2l(iv, v0);
84 n2l(iv, v1);
87 iv = (unsigned char *)ivec;
89 l2n(t, iv);
91 l2n(t, iv);
92 iv = (unsigned char *)ivec;
94 c = *(in++) ^ iv[n];
96 iv[
[all...]
H A Di_ofb64.c77 unsigned char *iv; local
80 iv = (unsigned char *)ivec;
81 n2l(iv, v0);
82 n2l(iv, v1);
104 iv = (unsigned char *)ivec;
105 l2n(v0, iv);
106 l2n(v1, iv);
H A Didea.h92 long length, IDEA_KEY_SCHEDULE *ks, unsigned char *iv,
95 long length, IDEA_KEY_SCHEDULE *ks, unsigned char *iv,
98 long length, IDEA_KEY_SCHEDULE *ks, unsigned char *iv,
H A Dideatest.c116 unsigned char iv[8]; local
151 memcpy(iv, k, 8);
152 idea_cbc_encrypt((unsigned char *)text, out, strlen(text) + 1, &key, iv,
154 memcpy(iv, k, 8);
155 idea_cbc_encrypt(out, out, 8, &dkey, iv, 0);
156 idea_cbc_encrypt(&(out[8]), &(out[8]), strlen(text) + 1 - 8, &dkey, iv,
/freebsd-11-stable/crypto/openssl/crypto/rc5/
H A Drc5.h102 long length, RC5_32_KEY *ks, unsigned char *iv,
H A Drc5_enc.c64 long length, RC5_32_KEY *ks, unsigned char *iv,
73 c2l(iv, tout0);
74 c2l(iv, tout1);
75 iv -= 8;
101 l2c(tout0, iv);
102 l2c(tout1, iv);
104 c2l(iv, xor0);
105 c2l(iv, xor1);
106 iv -= 8;
132 l2c(xor0, iv);
63 RC5_32_cbc_encrypt(const unsigned char *in, unsigned char *out, long length, RC5_32_KEY *ks, unsigned char *iv, int encrypt) argument
[all...]
H A Drc5cfb64.c76 unsigned char *iv, c, cc; local
78 iv = (unsigned char *)ivec;
82 c2l(iv, v0);
84 c2l(iv, v1);
87 iv = (unsigned char *)ivec;
89 l2c(t, iv);
91 l2c(t, iv);
92 iv = (unsigned char *)ivec;
94 c = *(in++) ^ iv[n];
96 iv[
[all...]
H A Drc5ofb64.c77 unsigned char *iv; local
80 iv = (unsigned char *)ivec;
81 c2l(iv, v0);
82 c2l(iv, v1);
104 iv = (unsigned char *)ivec;
105 l2c(v0, iv);
106 l2c(v1, iv);
/freebsd-11-stable/crypto/openssl/crypto/cast/
H A Dc_cfb64.c76 unsigned char *iv, c, cc; local
78 iv = ivec;
82 n2l(iv, v0);
84 n2l(iv, v1);
87 iv = ivec;
89 l2n(t, iv);
91 l2n(t, iv);
92 iv = ivec;
94 c = *(in++) ^ iv[n];
96 iv[
[all...]
H A Dc_enc.c127 long length, const CAST_KEY *ks, unsigned char *iv,
136 n2l(iv, tout0);
137 n2l(iv, tout1);
138 iv -= 8;
164 l2n(tout0, iv);
165 l2n(tout1, iv);
167 n2l(iv, xor0);
168 n2l(iv, xor1);
169 iv -= 8;
195 l2n(xor0, iv);
126 CAST_cbc_encrypt(const unsigned char *in, unsigned char *out, long length, const CAST_KEY *ks, unsigned char *iv, int enc) argument
[all...]
H A Dc_ofb64.c77 unsigned char *iv; local
80 iv = ivec;
81 n2l(iv, v0);
82 n2l(iv, v1);
104 iv = ivec;
105 l2n(v0, iv);
106 l2n(v1, iv);
H A Dcast.h94 long length, const CAST_KEY *ks, unsigned char *iv,
/freebsd-11-stable/crypto/openssl/crypto/pkcs12/
H A Dp12_crpt.c78 unsigned char key[EVP_MAX_KEY_LENGTH], iv[EVP_MAX_IV_LENGTH]; local
109 iter, EVP_CIPHER_iv_length(cipher), iv, md)) {
115 ret = EVP_CipherInit_ex(ctx, cipher, NULL, key, iv, en_de);
117 OPENSSL_cleanse(iv, EVP_MAX_IV_LENGTH);
/freebsd-11-stable/crypto/openssl/crypto/des/
H A Dcbc_cksm.c69 const unsigned char *iv = &(*ivec)[0]; local
71 c2l(iv, tout0);
72 c2l(iv, tout1);
H A Dcfb64ede.c77 unsigned char *iv, c, cc; local
79 iv = &(*ivec)[0];
83 c2l(iv, v0);
84 c2l(iv, v1);
92 iv = &(*ivec)[0];
93 l2c(v0, iv);
94 l2c(v1, iv);
95 iv = &(*ivec)[0];
97 c = *(in++) ^ iv[n];
99 iv[
154 unsigned char *iv; local
[all...]

Completed in 171 milliseconds

1234567891011>>