/freebsd-11-stable/crypto/openssl/engines/ccgost/ |
H A D | gost_lcl.h | 115 ASN1_OCTET_STRING *iv; member in struct:__anon6463
|
/freebsd-11-stable/crypto/openssl/engines/ |
H A D | e_padlock.c | 269 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 D | rc2.h | 91 RC2_KEY *ks, unsigned char *iv, int enc);
|
H A D | rc2_cbc.c | 63 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 D | rc2cfb64.c | 76 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 D | rc2ofb64.c | 77 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 D | rc2test.c | 189 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 D | bf_cfb64.c | 76 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 D | bf_ofb64.c | 77 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 D | i_cbc.c | 63 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 D | i_cfb64.c | 76 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 D | i_ofb64.c | 77 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 D | idea.h | 92 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 D | ideatest.c | 116 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 D | rc5.h | 102 long length, RC5_32_KEY *ks, unsigned char *iv,
|
H A D | rc5_enc.c | 64 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 D | rc5cfb64.c | 76 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 D | rc5ofb64.c | 77 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 D | c_cfb64.c | 76 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 D | c_enc.c | 127 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 D | c_ofb64.c | 77 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 D | cast.h | 94 long length, const CAST_KEY *ks, unsigned char *iv,
|
/freebsd-11-stable/crypto/openssl/crypto/pkcs12/ |
H A D | p12_crpt.c | 78 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 D | cbc_cksm.c | 69 const unsigned char *iv = &(*ivec)[0]; local 71 c2l(iv, tout0); 72 c2l(iv, tout1);
|
H A D | cfb64ede.c | 77 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...] |