/freebsd-9.3-release/crypto/openssl/crypto/des/ |
H A D | pcbc_enc.c | 68 unsigned char *out, *iv; local 72 iv = &(*ivec)[0]; 75 c2l(iv, xor0); 76 c2l(iv, xor1); 94 c2l(iv, xor0); 95 c2l(iv, xor1);
|
H A D | des_old.h | 142 # define des_ede3_cbc_encrypt(i,o,l,k1,k2,k3,iv,e)\ 143 DES_ede3_cbc_encrypt((i),(o),(l),&(k1),&(k2),&(k3),(iv),(e)) 146 # define des_ede3_cfb64_encrypt(i,o,l,k1,k2,k3,iv,n,e)\ 147 DES_ede3_cfb64_encrypt((i),(o),(l),&(k1),&(k2),&(k3),(iv),(n),(e)) 148 # define des_ede3_ofb64_encrypt(i,o,l,k1,k2,k3,iv,n)\ 149 DES_ede3_ofb64_encrypt((i),(o),(l),&(k1),&(k2),&(k3),(iv),(n)) 152 # define des_cbc_cksum(i,o,l,k,iv)\ 153 DES_cbc_cksum((i),(o),(l),&(k),(iv)) 154 # define des_cbc_encrypt(i,o,l,k,iv,e)\ 155 DES_cbc_encrypt((i),(o),(l),&(k),(iv),( [all...] |
H A D | enc_read.c | 88 DES_cblock *iv) 189 DES_pcbc_encrypt(net, unnet, num, sched, iv, DES_DECRYPT); 191 DES_cbc_encrypt(net, unnet, num, sched, iv, DES_DECRYPT); 211 DES_pcbc_encrypt(net, tmpbuf, num, sched, iv, DES_DECRYPT); 213 DES_cbc_encrypt(net, tmpbuf, num, sched, iv, DES_DECRYPT); 222 DES_pcbc_encrypt(net, buf, num, sched, iv, DES_DECRYPT); 224 DES_cbc_encrypt(net, buf, num, sched, iv, DES_DECRYPT); 87 DES_enc_read(int fd, void *buf, int len, DES_key_schedule *sched, DES_cblock *iv) argument
|
H A D | enc_writ.c | 81 DES_key_schedule *sched, DES_cblock *iv) 115 sched, iv); 141 iv, DES_ENCRYPT); 144 iv, DES_ENCRYPT); 80 DES_enc_write(int fd, const void *_buf, int len, DES_key_schedule *sched, DES_cblock *iv) argument
|
H A D | cbc_cksm.c | 69 const unsigned char *iv = &(*ivec)[0]; local 71 c2l(iv, tout0); 72 c2l(iv, tout1);
|
/freebsd-9.3-release/crypto/openssl/crypto/evp/ |
H A D | e_null.c | 65 const unsigned char *iv, int enc); 88 const unsigned char *iv, int enc) 87 null_init_key(EVP_CIPHER_CTX *ctx, const unsigned char *key, const unsigned char *iv, int enc) argument
|
H A D | e_cast.c | 69 const unsigned char *iv, int enc); 83 const unsigned char *iv, int enc) 82 cast_init_key(EVP_CIPHER_CTX *ctx, const unsigned char *key, const unsigned char *iv, int enc) argument
|
H A D | e_bf.c | 68 const unsigned char *iv, int enc); 81 const unsigned char *iv, int enc) 80 bf_init_key(EVP_CIPHER_CTX *ctx, const unsigned char *key, const unsigned char *iv, int enc) argument
|
H A D | e_seed.c | 66 const unsigned char *iv, int enc); 76 const unsigned char *iv, int enc) 75 seed_init_key(EVP_CIPHER_CTX *ctx, const unsigned char *key, const unsigned char *iv, int enc) argument
|
H A D | e_des.c | 69 const unsigned char *iv, int enc); 90 (DES_cblock *)ctx->iv, &ctx->num); 98 (DES_cblock *)ctx->iv, ctx->encrypt); 106 (DES_cblock *)ctx->iv, &ctx->num, ctx->encrypt); 122 DES_cfb_encrypt(c, d, 1, 1, ctx->cipher_data, (DES_cblock *)ctx->iv, 133 DES_cfb_encrypt(in, out, 8, inl, ctx->cipher_data, (DES_cblock *)ctx->iv, 155 const unsigned char *iv, int enc) 154 des_init_key(EVP_CIPHER_CTX *ctx, const unsigned char *key, const unsigned char *iv, int enc) argument
|
H A D | p_seal.c | 70 unsigned char **ek, int *ekl, unsigned char *iv, 86 RAND_pseudo_bytes(iv, EVP_CIPHER_CTX_iv_length(ctx)); 88 if (!EVP_EncryptInit_ex(ctx, NULL, NULL, key, iv)) 69 EVP_SealInit(EVP_CIPHER_CTX *ctx, const EVP_CIPHER *type, unsigned char **ek, int *ekl, unsigned char *iv, EVP_PKEY **pubk, int npubk) argument
|
H A D | e_xcbc_d.c | 69 const unsigned char *iv, int enc); 101 const unsigned char *iv, int enc) 116 (DES_cblock *)&(ctx->iv[0]), 100 desx_cbc_init_key(EVP_CIPHER_CTX *ctx, const unsigned char *key, const unsigned char *iv, int enc) argument
|
/freebsd-9.3-release/crypto/openssl/crypto/camellia/ |
H A D | cmll_cbc.c | 71 const unsigned char *iv = ivec; local 89 XOR4WORD2((u32 *)out, (u32 *)in, (u32 *)iv); 95 iv = out; 102 out[n] = in[n] ^ iv[n]; 104 out[n] = iv[n]; 110 iv = out; 112 memcpy(ivec, iv, CAMELLIA_BLOCK_SIZE); 121 XOR4WORD((u32 *)out, (u32 *)iv); 122 iv = in; 135 out[n] = tmp.t8[n] ^ iv[ [all...] |
/freebsd-9.3-release/crypto/openssl/crypto/aes/ |
H A D | aes_ige.c | 120 aes_block_t iv; local 123 load_block(iv, ivec); 129 tmp2.data[n] = tmp.data[n] ^ iv.data[n]; 135 iv = tmp2; 141 memcpy(ivec, iv.data, AES_BLOCK_SIZE); 173 aes_block_t iv; local 176 load_block(iv, ivec); 187 tmp.data[n] ^= iv.data[n]; 189 iv = tmp2; 195 memcpy(ivec, iv 219 const unsigned char *iv; local [all...] |
/freebsd-9.3-release/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...] |
/freebsd-9.3-release/contrib/wpa/src/crypto/ |
H A D | aes-cbc.c | 25 * @iv: Encryption IV for CBC mode (16 bytes) 30 int aes_128_cbc_encrypt(const u8 *key, const u8 *iv, u8 *data, size_t data_len) argument 40 os_memcpy(cbc, iv, AES_BLOCK_SIZE); 58 * @iv: Decryption IV for CBC mode (16 bytes) 63 int aes_128_cbc_decrypt(const u8 *key, const u8 *iv, u8 *data, size_t data_len) argument 73 os_memcpy(cbc, iv, AES_BLOCK_SIZE);
|
/freebsd-9.3-release/crypto/heimdal/etc/ |
H A D | services.append | 16 kerberos-iv 750/udp kdc # Kerberos authentication--udp 17 kerberos-iv 750/tcp kdc # Kerberos authentication--tcp
|
/freebsd-9.3-release/crypto/openssh/ |
H A D | cipher-bf1.c | 68 const unsigned char *iv, int enc) 70 if (iv != NULL) 71 memcpy (&(ctx->oiv[0]), iv, 8); 72 memcpy (&(ctx->iv[0]), &(ctx->oiv[0]), 8); 67 bf_ssh1_init(EVP_CIPHER_CTX * ctx, const unsigned char *key, const unsigned char *iv, int enc) argument
|
H A D | cipher-ctr.c | 83 ssh_aes_ctr_init(EVP_CIPHER_CTX *ctx, const u_char *key, const u_char *iv, argument 95 if (iv != NULL) 96 memcpy(c->aes_counter, iv, AES_BLOCK_SIZE); 114 ssh_aes_ctr_iv(EVP_CIPHER_CTX *evp, int doset, u_char * iv, size_t len) argument 121 memcpy(c->aes_counter, iv, len); 123 memcpy(iv, c->aes_counter, len);
|
/freebsd-9.3-release/sys/crypto/aesni/ |
H A D | aesni_wrap.c | 42 const uint8_t *from, uint8_t *to, const uint8_t iv[AES_BLOCK_LEN]) 48 ivp = iv; 122 const uint8_t iv[AES_BLOCK_LEN], int do_encrypt) 133 bcopy(iv, tweak, AES_XTS_IVSIZE); 156 const uint8_t iv[AES_BLOCK_LEN]) 160 iv, 1); 166 const uint8_t iv[AES_BLOCK_LEN]) 170 iv, 0); 213 arc4rand(ses->iv, sizeof(ses->iv), 41 aesni_encrypt_cbc(int rounds, const void *key_schedule, size_t len, const uint8_t *from, uint8_t *to, const uint8_t iv[AES_BLOCK_LEN]) argument 120 aesni_crypt_xts(int rounds, const void *data_schedule, const void *tweak_schedule, size_t len, const uint8_t *from, uint8_t *to, const uint8_t iv[AES_BLOCK_LEN], int do_encrypt) argument 154 aesni_encrypt_xts(int rounds, const void *data_schedule, const void *tweak_schedule, size_t len, const uint8_t *from, uint8_t *to, const uint8_t iv[AES_BLOCK_LEN]) argument 164 aesni_decrypt_xts(int rounds, const void *data_schedule, const void *tweak_schedule, size_t len, const uint8_t *from, uint8_t *to, const uint8_t iv[AES_BLOCK_LEN]) argument [all...] |
H A D | aesni.h | 59 uint8_t iv[AES_BLOCK_LEN]; member in struct:aesni_session 76 const uint8_t iv[AES_BLOCK_LEN]); 79 const uint8_t iv[AES_BLOCK_LEN]); 89 const uint8_t *from, uint8_t *to, const uint8_t iv[AES_BLOCK_LEN]); 91 const uint8_t *from, const uint8_t iv[AES_BLOCK_LEN]);
|
/freebsd-9.3-release/crypto/openssl/test/ |
H A D | igetest.c | 78 const unsigned char iv[32]; member in struct:ige_test 91 0x18, 0x19, 0x1a, 0x1b, 0x1c, 0x1d, 0x1e, 0x1f}, /* iv */ 107 0x72, 0x20, 0x4f, 0x70, 0x65, 0x6e, 0x53, 0x53}, /* iv */ 122 const unsigned char iv[64]; member in struct:bi_ige_test 142 0x38, 0x39, 0x3a, 0x3b, 0x3c, 0x3d, 0x3e, 0x3f}, /* iv */ 167 0x48, 0x79, 0x37, 0x99, 0xff, 0x27, 0x93, 0xa3}, /* iv */ 198 unsigned char iv[AES_BLOCK_SIZE * 2]; local 206 memcpy(iv, v->iv, sizeof iv); 283 unsigned char iv[AES_BLOCK_SIZE * 4]; local [all...] |
/freebsd-9.3-release/crypto/openssl/crypto/engine/ |
H A D | eng_padlock.c | 257 unsigned char iv[AES_BLOCK_SIZE]; /* Initialization vector */ local 426 { void *iv; \ 432 : "=a"(iv), "=c"(cnt), "=D"(out), "=S"(inp) \ 435 return iv; \ 662 const unsigned char *iv, int enc); 775 const unsigned char *iv, int enc) 853 void *iv; local 864 memcpy(cdata->iv, ctx->iv, AES_BLOCK_SIZE); 865 iv 774 padlock_aes_init_key(EVP_CIPHER_CTX *ctx, const unsigned char *key, const unsigned char *iv, int enc) argument 910 void *iv; local [all...] |
/freebsd-9.3-release/crypto/openssl/crypto/pkcs12/ |
H A D | p12_crpt.c | 96 unsigned char key[EVP_MAX_KEY_LENGTH], iv[EVP_MAX_IV_LENGTH]; local 124 iter, EVP_CIPHER_iv_length(cipher), iv, md)) { 130 ret = EVP_CipherInit_ex(ctx, cipher, NULL, key, iv, en_de); 132 OPENSSL_cleanse(iv, EVP_MAX_IV_LENGTH);
|
/freebsd-9.3-release/crypto/openssl/crypto/rc5/ |
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...] |