/freebsd-11-stable/crypto/openssl/crypto/aes/ |
H A D | aes.h | 106 const AES_KEY *key, const int enc); 109 unsigned char *ivec, const int enc); 112 unsigned char *ivec, int *num, const int enc); 115 unsigned char *ivec, int *num, const int enc); 118 unsigned char *ivec, int *num, const int enc); 130 unsigned char *ivec, const int enc); 135 const int enc);
|
/freebsd-11-stable/sys/cam/scsi/ |
H A D | scsi_enc_safte.c | 55 static int safte_set_enc_status(enc_softc_t *enc, uint8_t encstat, int slpflag); 223 ENC_VLOG(enc, safte_2little, x, __LINE__);\ 232 safte_fill_read_buf_io(enc_softc_t *enc, struct enc_fsm_state *state, argument 237 enc->enc_cache.nelms == 0) { 238 enc_update_request(enc, SAFTE_UPDATE_READCONFIG); 242 if (enc->enc_type == ENC_SEMB_SAFT) { 257 safte_process_config(enc_softc_t *enc, struct enc_fsm_state *state, argument 264 cfg = enc->enc_private; 270 ENC_VLOG(enc, "too little data (%d) for configuration\n", 284 ENC_VLOG(enc, "Nfan 328 safte_process_gflags(enc_softc_t *enc, struct enc_fsm_state *state, union ccb *ccb, uint8_t **bufp, int error, int xfer_len) argument 353 safte_process_status(enc_softc_t *enc, struct enc_fsm_state *state, union ccb *ccb, uint8_t **bufp, int error, int xfer_len) argument 662 safte_process_slotstatus(enc_softc_t *enc, struct enc_fsm_state *state, union ccb *ccb, uint8_t **bufp, int error, int xfer_len) argument 731 safte_fill_control_request(enc_softc_t *enc, struct enc_fsm_state *state, union ccb *ccb, uint8_t *buf) argument 952 safte_process_control_request(enc_softc_t *enc, struct enc_fsm_state *state, union ccb *ccb, uint8_t **bufp, int error, int xfer_len) argument 985 safte_softc_invalidate(enc_softc_t *enc) argument 994 safte_softc_cleanup(enc_softc_t *enc) argument 1003 safte_init_enc(enc_softc_t *enc) argument 1025 safte_get_enc_status(enc_softc_t *enc, int slpflg) argument 1032 safte_set_enc_status(enc_softc_t *enc, uint8_t encstat, int slpflag) argument 1053 safte_get_elm_status(enc_softc_t *enc, encioc_elm_status_t *elms, int slpflg) argument 1065 safte_set_elm_status(enc_softc_t *enc, encioc_elm_status_t *elms, int slpflag) argument 1090 safte_poll_status(enc_softc_t *enc) argument 1110 safte_softc_init(enc_softc_t *enc) argument [all...] |
/freebsd-11-stable/crypto/openssl/crypto/camellia/ |
H A D | camellia.h | 106 const CAMELLIA_KEY *key, const int enc); 109 unsigned char *ivec, const int enc); 112 unsigned char *ivec, int *num, const int enc); 115 unsigned char *ivec, int *num, const int enc); 118 unsigned char *ivec, int *num, const int enc);
|
/freebsd-11-stable/crypto/openssl/crypto/des/asm/ |
H A D | desboth.pl | 8 local($name,$enc)=@_; 31 if ($enc) 47 &mov(&swtmp(2), (DWC(($enc)?"1":"0"))); 51 &mov(&swtmp(2), (DWC(($enc)?"0":"1"))); 55 &mov(&swtmp(2), (DWC(($enc)?"1":"0")));
|
/freebsd-11-stable/crypto/openssl/crypto/cast/ |
H A D | cast.h | 90 const CAST_KEY *key, int enc); 95 int enc); 98 unsigned char *ivec, int *num, int enc);
|
H A D | c_ecb.c | 66 const CAST_KEY *ks, int enc) 74 if (enc) 65 CAST_ecb_encrypt(const unsigned char *in, unsigned char *out, const CAST_KEY *ks, int enc) argument
|
/freebsd-11-stable/crypto/openssl/crypto/rc2/ |
H A D | rc2.h | 87 RC2_KEY *key, int enc); 91 RC2_KEY *ks, unsigned char *iv, int enc); 94 int *num, int enc);
|
/freebsd-11-stable/crypto/openssl/crypto/rc5/ |
H A D | rc5.h | 98 RC5_32_KEY *key, int enc); 103 int enc); 106 unsigned char *ivec, int *num, int enc);
|
/freebsd-11-stable/crypto/openssl/crypto/des/ |
H A D | ecb3_enc.c | 63 DES_key_schedule *ks3, int enc) 74 if (enc) 61 DES_ecb3_encrypt(const_DES_cblock *input, DES_cblock *output, DES_key_schedule *ks1, DES_key_schedule *ks2, DES_key_schedule *ks3, int enc) argument
|
H A D | des.h | 134 DES_key_schedule *ks3, int enc); 141 DES_cblock *ivec, int enc); 144 DES_cblock *ivec, int enc); 148 const_DES_cblock *outw, int enc); 151 DES_cblock *ivec, int enc); 153 DES_key_schedule *ks, int enc); 162 * long's and ks is the DES_key_schedule to use. enc, is non zero specifies 165 void DES_encrypt1(DES_LONG *data, DES_key_schedule *ks, int enc); 175 void DES_encrypt2(DES_LONG *data, DES_key_schedule *ks, int enc); 184 DES_key_schedule *ks3, DES_cblock *ivec, int enc); [all...] |
/freebsd-11-stable/crypto/openssl/crypto/evp/ |
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_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_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_seed.c | 66 const unsigned char *iv, int enc); 77 const unsigned char *iv, int enc) 76 seed_init_key(EVP_CIPHER_CTX *ctx, const unsigned char *key, const unsigned char *iv, int enc) argument
|
/freebsd-11-stable/crypto/openssl/crypto/pem/ |
H A D | pem_pk8.c | 70 int nid, const EVP_CIPHER *enc, 73 int nid, const EVP_CIPHER *enc, 78 * replacement for PEM_write_bio_PrivateKey() and friends. As usual if 'enc' 90 int PEM_write_bio_PKCS8PrivateKey(BIO *bp, EVP_PKEY *x, const EVP_CIPHER *enc, argument 94 return do_pk8pkey(bp, x, 0, -1, enc, kstr, klen, cb, u); 97 int i2d_PKCS8PrivateKey_bio(BIO *bp, EVP_PKEY *x, const EVP_CIPHER *enc, argument 101 return do_pk8pkey(bp, x, 1, -1, enc, kstr, klen, cb, u); 112 const EVP_CIPHER *enc, char *kstr, int klen, 123 if (enc || (nid != -1)) { 137 p8 = PKCS8_encrypt(nid, enc, kst 111 do_pk8pkey(BIO *bp, EVP_PKEY *x, int isder, int nid, const EVP_CIPHER *enc, char *kstr, int klen, pem_password_cb *cb, void *u) argument 198 i2d_PKCS8PrivateKey_fp(FILE *fp, EVP_PKEY *x, const EVP_CIPHER *enc, char *kstr, int klen, pem_password_cb *cb, void *u) argument 218 PEM_write_PKCS8PrivateKey(FILE *fp, EVP_PKEY *x, const EVP_CIPHER *enc, char *kstr, int klen, pem_password_cb *cb, void *u) argument 225 do_pk8pkey_fp(FILE *fp, EVP_PKEY *x, int isder, int nid, const EVP_CIPHER *enc, char *kstr, int klen, pem_password_cb *cb, void *u) argument [all...] |
H A D | pem_all.c | 192 int PEM_write_bio_RSAPrivateKey(BIO *bp, RSA *x, const EVP_CIPHER *enc, argument 204 ret = PEM_write_bio_PrivateKey(bp, k, enc, kstr, klen, cb, u); 209 PEM_STRING_RSA, bp, x, enc, kstr, klen, cb, 214 int PEM_write_RSAPrivateKey(FILE *fp, RSA *x, const EVP_CIPHER *enc, argument 227 ret = PEM_write_PrivateKey(fp, k, enc, kstr, klen, cb, u); 232 PEM_STRING_RSA, fp, x, enc, kstr, klen, cb, u); 273 int PEM_write_bio_DSAPrivateKey(BIO *bp, DSA *x, const EVP_CIPHER *enc, argument 285 ret = PEM_write_bio_PrivateKey(bp, k, enc, kstr, klen, cb, u); 290 PEM_STRING_DSA, bp, x, enc, kstr, klen, cb, 295 int PEM_write_DSAPrivateKey(FILE *fp, DSA *x, const EVP_CIPHER *enc, argument 383 PEM_write_ECPrivateKey(FILE *fp, EC_KEY *x, const EVP_CIPHER *enc, unsigned char *kstr, int klen, pem_password_cb *cb, void *u) argument [all...] |
/freebsd-11-stable/crypto/openssl/crypto/cms/ |
H A D | cms_enc.c | 82 int enc, keep_key = 0; local 84 enc = ec->cipher ? 1 : 0; 94 if (enc) { 110 if (EVP_CipherInit_ex(ctx, ciph, NULL, NULL, NULL, enc) <= 0) { 116 if (enc) { 133 if (!enc || !ec->key) { 147 if (enc) 161 if (enc || ec->debug) { 177 if (EVP_CipherInit_ex(ctx, NULL, NULL, ec->key, piv, enc) <= 0) { 182 if (enc) { 260 CMS_EncryptedData *enc = cms->d.encryptedData; local [all...] |
/freebsd-11-stable/stand/libsa/geli/ |
H A D | geliboot_crypto.c | 38 geliboot_crypt(u_int algo, int enc, u_char *data, size_t datasize, argument 49 err = rijndael_makeKey(&aeskey, !enc, keysize, 62 if (enc == 0) { 86 switch (enc) { 108 g_eli_crypto_cipher(u_int algo, int enc, u_char *data, size_t datasize, argument 114 return (geliboot_crypt(algo, enc, data, datasize, key, keysize, iv));
|
/freebsd-11-stable/crypto/openssl/crypto/idea/ |
H A D | idea.h | 93 int enc); 96 int *num, int enc);
|
/freebsd-11-stable/sys/crypto/des/ |
H A D | des_ecb.c | 101 des_key_schedule ks, int enc) 110 des_encrypt1(ll,ks,enc); 118 int enc) 130 if (enc) 100 des_ecb_encrypt(des_cblock *input, des_cblock *output, des_key_schedule ks, int enc) argument 116 des_ecb3_encrypt(des_cblock *input, des_cblock *output, des_key_schedule ks1, des_key_schedule ks2, des_key_schedule ks3, int enc) argument
|
/freebsd-11-stable/lib/libxo/tests/encoder/ |
H A D | Makefile | 11 SYMLINKS+= ${LIBDIR}/${SHLIB_NAME} /usr/lib/libxo/encoder/test.enc
|
/freebsd-11-stable/sys/netgraph/ |
H A D | ng_rfc1490.c | 110 const struct ng_rfc1490_encap_t *enc; member in struct:ng_rfc1490_private 171 priv->enc = ng_rfc1490_encaps; 225 const struct ng_rfc1490_encap_t *enc; local 236 for (enc = ng_rfc1490_encaps; enc->method != 0; enc++ ) 237 if ((strlen(enc->name) == len) && 238 !strncmp(enc->name, s, len)) 241 if (enc->method != 0) 242 priv->enc [all...] |
/freebsd-11-stable/crypto/openssl/crypto/bf/ |
H A D | blowfish.h | 115 const BF_KEY *key, int enc); 117 const BF_KEY *schedule, unsigned char *ivec, int enc); 120 unsigned char *ivec, int *num, int enc);
|
/freebsd-11-stable/crypto/openssl/crypto/seed/ |
H A D | seed.h | 133 const SEED_KEY_SCHEDULE *ks, int enc); 136 unsigned char ivec[SEED_BLOCK_SIZE], int enc); 140 int enc);
|
/freebsd-11-stable/crypto/openssl/apps/ |
H A D | genrsa.c | 98 const EVP_CIPHER *enc = NULL; local 152 enc = EVP_des_cbc(); 154 enc = EVP_des_ede3_cbc(); 158 enc = EVP_idea_cbc(); 162 enc = EVP_seed_cbc(); 166 enc = EVP_aes_128_cbc(); 168 enc = EVP_aes_192_cbc(); 170 enc = EVP_aes_256_cbc(); 174 enc = EVP_camellia_128_cbc(); 176 enc [all...] |