/freebsd-10.0-release/crypto/openssl/crypto/des/ |
H A D | pcbc_enc.c | 63 DES_cblock *ivec, int enc) 74 if (enc) 61 DES_pcbc_encrypt(const unsigned char *input, unsigned char *output, long length, DES_key_schedule *schedule, DES_cblock *ivec, int enc) argument
|
H A D | cfb64ede.c | 70 DES_cblock *ivec, int *num, int enc) 79 if (enc) 139 int *num, int enc) 141 DES_ede3_cfb64_encrypt(in,out,length,ks1,ks2,ks1,ivec,num,enc); 152 DES_cblock *ivec,int enc) 165 if (enc) 67 DES_ede3_cfb64_encrypt(const unsigned char *in, unsigned char *out, long length, DES_key_schedule *ks1, DES_key_schedule *ks2, DES_key_schedule *ks3, DES_cblock *ivec, int *num, int enc) argument 137 DES_ede2_cfb64_encrypt(unsigned char *in, unsigned char *out, long length, DES_key_schedule ks1, DES_key_schedule ks2, DES_cblock (*ivec), int *num, int enc) argument 149 DES_ede3_cfb_encrypt(const unsigned char *in,unsigned char *out, int numbits,long length,DES_key_schedule *ks1, DES_key_schedule *ks2,DES_key_schedule *ks3, DES_cblock *ivec,int enc) argument
|
H A D | des_enc.c | 62 void DES_encrypt1(DES_LONG *data, DES_key_schedule *ks, int enc) argument 91 if (enc) 156 void DES_encrypt2(DES_LONG *data, DES_key_schedule *ks, int enc) argument 183 if (enc) 291 DES_cblock *ivec, int enc) 305 if (enc) 288 DES_ede3_cbc_encrypt(const unsigned char *input, unsigned char *output, long length, DES_key_schedule *ks1, DES_key_schedule *ks2, DES_key_schedule *ks3, DES_cblock *ivec, int enc) argument
|
H A D | cfb_enc.c | 73 int enc) 96 if (enc) 71 DES_cfb_encrypt(const unsigned char *in, unsigned char *out, int numbits, long length, DES_key_schedule *schedule, DES_cblock *ivec, int enc) argument
|
H A D | ede_cbcm_enc.c | 79 int enc) 90 if (enc) 76 DES_ede3_cbcm_encrypt(const unsigned char *in, unsigned char *out, long length, DES_key_schedule *ks1, DES_key_schedule *ks2, DES_key_schedule *ks3, DES_cblock *ivec1, DES_cblock *ivec2, int enc) argument
|
/freebsd-10.0-release/crypto/openssl/crypto/evp/ |
H A D | e_xcbc_d.c | 70 const unsigned char *iv,int enc); 105 const unsigned char *iv, int enc) 104 desx_cbc_init_key(EVP_CIPHER_CTX *ctx, const unsigned char *key, const unsigned char *iv, int enc) argument
|
H A D | evp_enc.c | 96 const unsigned char *key, const unsigned char *iv, int enc) 100 return EVP_CipherInit_ex(ctx,cipher,NULL,key,iv,enc); 104 const unsigned char *key, const unsigned char *iv, int enc) 106 if (enc == -1) 107 enc = ctx->encrypt; 110 if (enc) 111 enc = 1; 112 ctx->encrypt = enc; 133 ctx->encrypt = enc; 174 return FIPS_cipherinit(ctx, cipher, key, iv, enc); 95 EVP_CipherInit(EVP_CIPHER_CTX *ctx, const EVP_CIPHER *cipher, const unsigned char *key, const unsigned char *iv, int enc) argument 103 EVP_CipherInit_ex(EVP_CIPHER_CTX *ctx, const EVP_CIPHER *cipher, ENGINE *impl, const unsigned char *key, const unsigned char *iv, int enc) argument [all...] |
H A D | e_aes.c | 126 unsigned char *ivec, int enc); 131 unsigned char ivec[16], int enc); 190 int enc); 195 unsigned char *ivec, int enc); 230 const unsigned char *iv, int enc) 237 && !enc) 306 const unsigned char *iv, int enc) 347 const unsigned char *iv, int enc) 356 if (enc) 390 const unsigned char *iv, int enc) 229 aesni_init_key(EVP_CIPHER_CTX *ctx, const unsigned char *key, const unsigned char *iv, int enc) argument 305 aesni_gcm_init_key(EVP_CIPHER_CTX *ctx, const unsigned char *key, const unsigned char *iv, int enc) argument 346 aesni_xts_init_key(EVP_CIPHER_CTX *ctx, const unsigned char *key, const unsigned char *iv, int enc) argument 389 aesni_ccm_init_key(EVP_CIPHER_CTX *ctx, const unsigned char *key, const unsigned char *iv, int enc) argument 496 aes_init_key(EVP_CIPHER_CTX *ctx, const unsigned char *key, const unsigned char *iv, int enc) argument 839 aes_gcm_init_key(EVP_CIPHER_CTX *ctx, const unsigned char *key, const unsigned char *iv, int enc) argument 1096 aes_xts_init_key(EVP_CIPHER_CTX *ctx, const unsigned char *key, const unsigned char *iv, int enc) argument 1267 aes_ccm_init_key(EVP_CIPHER_CTX *ctx, const unsigned char *key, const unsigned char *iv, int enc) argument [all...] |
H A D | e_des.c | 69 const unsigned char *iv, int enc); 196 const unsigned char *iv, int enc) 195 des_init_key(EVP_CIPHER_CTX *ctx, const unsigned char *key, const unsigned char *iv, int enc) argument
|
H A D | e_rc2.c | 70 const unsigned char *iv,int enc); 138 const unsigned char *iv, int enc) 137 rc2_init_key(EVP_CIPHER_CTX *ctx, const unsigned char *key, const unsigned char *iv, int enc) argument
|
/freebsd-10.0-release/crypto/openssl/crypto/rc5/asm/ |
H A D | rc5-586.pl | 27 local($name,$enc)=@_; 48 if ($enc)
|
/freebsd-10.0-release/crypto/openssh/ |
H A D | packet.c | 285 packet_start_discard(Enc *enc, Mac *mac, u_int packet_length, u_int discard) argument 287 if (enc == NULL || !cipher_is_cbc(enc->cipher) || (mac && mac->etm)) 742 Enc *enc; local 765 enc = &active_state->newkeys[mode]->enc; 769 memset(enc->iv, 0, enc->iv_len); 770 memset(enc->key, 0, enc 860 Enc *enc = NULL; local 1265 Enc *enc = NULL; local [all...] |
H A D | cipher-bf1.c | 68 const unsigned char *iv, int enc) 67 bf_ssh1_init(EVP_CIPHER_CTX * ctx, const unsigned char *key, const unsigned char *iv, int enc) argument
|
/freebsd-10.0-release/crypto/openssl/crypto/pem/ |
H A D | pem_info.c | 314 int PEM_X509_INFO_write_bio(BIO *bp, X509_INFO *xi, EVP_CIPHER *enc, argument 324 if (enc != NULL) 326 objstr=OBJ_nid2sn(EVP_CIPHER_nid(enc)); 343 if (enc == NULL) 368 OPENSSL_assert(strlen(objstr)+23+2*enc->iv_len+13 <= sizeof buf); 371 PEM_dek_info(buf,objstr,enc->iv_len,(char *)iv); 384 enc,kstr,klen,cb,u)<=0)
|
H A D | pem_pkey.c | 140 int PEM_write_bio_PrivateKey(BIO *bp, EVP_PKEY *x, const EVP_CIPHER *enc, argument 146 return PEM_write_bio_PKCS8PrivateKey(bp, x, enc, 152 pem_str,bp,x,enc,kstr,klen,cb,u); 225 int PEM_write_PrivateKey(FILE *fp, EVP_PKEY *x, const EVP_CIPHER *enc, argument 237 ret=PEM_write_bio_PrivateKey(b, x, enc, kstr, klen, cb, u);
|
H A D | pem_lib.c | 315 void *x, const EVP_CIPHER *enc, unsigned char *kstr, 327 ret=PEM_ASN1_write_bio(i2d,name,b,x,enc,kstr,klen,callback,u); 334 void *x, const EVP_CIPHER *enc, unsigned char *kstr, 345 if (enc != NULL) 347 objstr=OBJ_nid2sn(EVP_CIPHER_nid(enc)); 372 if (enc != NULL) 392 OPENSSL_assert(enc->iv_len <= (int)sizeof(iv)); 393 if (RAND_pseudo_bytes(iv,enc->iv_len) < 0) /* Generate a salt */ 397 if (!EVP_BytesToKey(enc,EVP_md5(),iv,kstr,klen,1,key,NULL)) 402 OPENSSL_assert(strlen(objstr)+23+2*enc 314 PEM_ASN1_write(i2d_of_void *i2d, const char *name, FILE *fp, void *x, const EVP_CIPHER *enc, unsigned char *kstr, int klen, pem_password_cb *callback, void *u) argument 333 PEM_ASN1_write_bio(i2d_of_void *i2d, const char *name, BIO *bp, void *x, const EVP_CIPHER *enc, unsigned char *kstr, int klen, pem_password_cb *callback, void *u) argument 492 const EVP_CIPHER *enc=NULL; local [all...] |
/freebsd-10.0-release/sys/dev/cesa/ |
H A D | cesa.c | 1361 struct cryptoini *enc; local 1366 enc = NULL; 1374 enc = cri; 1379 if (!enc && !cesa_is_hash(cri->cri_alg)) 1380 enc = cri; 1385 if (cri->cri_next || !(enc && mac)) 1389 if ((enc && (enc->cri_klen / 8) > CESA_MAX_KEY_LEN) || 1403 if (enc) { 1404 switch (enc 1498 struct cryptodesc *enc; local [all...] |
/freebsd-10.0-release/crypto/openssl/crypto/modes/ |
H A D | modes.h | 19 unsigned char ivec[16], int enc); 54 int enc, block128_f block); 58 int enc, block128_f block); 62 int enc, block128_f block); 138 const unsigned char *inp, unsigned char *out, size_t len, int enc);
|
/freebsd-10.0-release/sys/geom/eli/ |
H A D | g_eli_crypto.c | 60 g_eli_crypto_cipher(u_int algo, int enc, u_char *data, size_t datasize, argument 104 if (enc) 134 g_eli_crypto_cipher(u_int algo, int enc, u_char *data, size_t datasize, argument 192 EVP_CipherInit_ex(&ctx, type, NULL, NULL, NULL, enc); 196 EVP_CipherInit_ex(&ctx, NULL, NULL, key, iv, enc);
|
/freebsd-10.0-release/crypto/openssl/crypto/bf/asm/ |
H A D | bf-686.pl | 29 local($name,$enc)=@_; 40 &comment("P pointer, s and enc flag"); 48 if ($enc)
|
/freebsd-10.0-release/sys/crypto/des/ |
H A D | des_enc.c | 70 void des_encrypt1(DES_LONG *data, des_key_schedule ks, int enc) argument 99 if (enc) 168 void des_encrypt2(DES_LONG *data, des_key_schedule ks, int enc) argument 195 if (enc)
|
/freebsd-10.0-release/crypto/openssl/apps/ |
H A D | enc.c | 1 /* apps/enc.c */ 118 int enc=1,printkey=0,i,base64=0; local 157 && (strcmp(pname,"enc") != 0)) 159 if (!base64 && (cipher == NULL) && (strcmp(pname,"enc") != 0)) 171 enc=1; 195 enc=0; 338 BIO_printf(bio_err, "AEAD ciphers not supported by the enc utility\n"); 344 BIO_printf(bio_err, "Ciphers in XTS mode are not supported by the enc utility\n"); 444 (enc)?"encryption":"decryption"); 446 i=EVP_read_pw_string((char *)strbuf,SIZE,buf,enc); [all...] |
H A D | pkcs12.c | 73 const EVP_CIPHER *enc; variable 140 enc = EVP_des_ede3_cbc(); 165 else if (!strcmp (*args, "-des")) enc=EVP_des_cbc(); 166 else if (!strcmp (*args, "-des3")) enc = EVP_des_ede3_cbc(); 168 else if (!strcmp (*args, "-idea")) enc=EVP_idea_cbc(); 171 else if (!strcmp(*args, "-seed")) enc=EVP_seed_cbc(); 174 else if (!strcmp(*args,"-aes128")) enc=EVP_aes_128_cbc(); 175 else if (!strcmp(*args,"-aes192")) enc=EVP_aes_192_cbc(); 176 else if (!strcmp(*args,"-aes256")) enc=EVP_aes_256_cbc(); 179 else if (!strcmp(*args,"-camellia128")) enc [all...] |
/freebsd-10.0-release/contrib/mdocml/ |
H A D | term.h | 81 enum termenc enc; /* Type of encoding. */ member in struct:termp
|
/freebsd-10.0-release/crypto/openssl/crypto/cast/asm/ |
H A D | cast-586.pl | 37 local($name,$enc)=@_; 69 if($enc) { 80 if ($enc) { 121 &set_label('cast_enc_done') if $enc;
|