Searched refs:encrypt (Results 1 - 25 of 101) sorted by relevance

12345

/freebsd-11-stable/sys/crypto/blowfish/
H A Dbf_ecb.c72 BF_KEY *key, int encrypt)
78 if (encrypt)
71 BF_ecb_encrypt(const unsigned char *in, unsigned char *out, BF_KEY *key, int encrypt) argument
/freebsd-11-stable/crypto/openssl/crypto/bf/
H A Dbf_ecb.c83 const BF_KEY *key, int encrypt)
91 if (encrypt)
82 BF_ecb_encrypt(const unsigned char *in, unsigned char *out, const BF_KEY *key, int encrypt) argument
H A Dbf_cfb64.c70 unsigned char *ivec, int *num, int encrypt)
79 if (encrypt) {
68 BF_cfb64_encrypt(const unsigned char *in, unsigned char *out, long length, const BF_KEY *schedule, unsigned char *ivec, int *num, int encrypt) argument
H A Dbf_cbc.c63 const BF_KEY *schedule, unsigned char *ivec, int encrypt)
70 if (encrypt) {
62 BF_cbc_encrypt(const unsigned char *in, unsigned char *out, long length, const BF_KEY *schedule, unsigned char *ivec, int encrypt) argument
/freebsd-11-stable/lib/libc/gen/
H A Dcrypt.c85 __warn_references(encrypt,
86 "WARNING! encrypt(3) not present in the system!");
90 encrypt(char *block __unused, int flag __unused) function
92 fprintf(stderr, "WARNING! encrypt(3) not present in the system!\n");
/freebsd-11-stable/crypto/openssl/crypto/rc2/
H A Drc2_ecb.c75 int encrypt)
83 if (encrypt)
74 RC2_ecb_encrypt(const unsigned char *in, unsigned char *out, RC2_KEY *ks, int encrypt) argument
H A Drc2cfb64.c70 int *num, int encrypt)
79 if (encrypt) {
68 RC2_cfb64_encrypt(const unsigned char *in, unsigned char *out, long length, RC2_KEY *schedule, unsigned char *ivec, int *num, int encrypt) argument
/freebsd-11-stable/crypto/openssl/crypto/rc5/
H A Drc5_ecb.c66 RC5_32_KEY *ks, int encrypt)
74 if (encrypt)
65 RC5_32_ecb_encrypt(const unsigned char *in, unsigned char *out, RC5_32_KEY *ks, int encrypt) argument
H A Drc5cfb64.c70 unsigned char *ivec, int *num, int encrypt)
79 if (encrypt) {
68 RC5_32_cfb64_encrypt(const unsigned char *in, unsigned char *out, long length, RC5_32_KEY *schedule, unsigned char *ivec, int *num, int encrypt) argument
/freebsd-11-stable/crypto/heimdal/appl/telnet/libtelnet/
H A DMakefile.am15 encrypt.c \
16 encrypt.h \
/freebsd-11-stable/crypto/openssl/crypto/des/
H A DDES.xs50 des_ecb_encrypt(input,ks,encrypt)
53 int encrypt
55 des_ecb_encrypt(input,&RETVAL,*ks,encrypt);
60 des_cbc_encrypt(input,ks,ivec,encrypt)
64 int encrypt
79 l,*ks,ivec,encrypt);
85 des_cbc3_encrypt(input,ks1,ks2,ivec1,ivec2,encrypt)
91 int encrypt
104 l,*ks1,*ks2,ivec1,ivec2,encrypt);
137 des_cfb_encrypt(input,numbits,ks,ivec,encrypt)
[all...]
/freebsd-11-stable/crypto/openssl/crypto/evp/
H A De_des.c109 ctx->cipher_data, ctx->encrypt);
140 (DES_cblock *)ctx->iv, ctx->encrypt);
147 (DES_cblock *)ctx->iv, ctx->encrypt);
156 (DES_cblock *)ctx->iv, &ctx->num, ctx->encrypt);
163 (DES_cblock *)ctx->iv, &ctx->num, ctx->encrypt);
184 (DES_cblock *)ctx->iv, ctx->encrypt);
204 (DES_cblock *)ctx->iv, ctx->encrypt);
211 (DES_cblock *)ctx->iv, ctx->encrypt);
H A De_xcbc_d.c119 &data(ctx)->inw, &data(ctx)->outw, ctx->encrypt);
127 &data(ctx)->inw, &data(ctx)->outw, ctx->encrypt);
H A De_des3.c124 &data(ctx)->ks3, ctx->encrypt);
173 (DES_cblock *)ctx->iv, ctx->encrypt);
181 (DES_cblock *)ctx->iv, ctx->encrypt);
192 &ctx->num, ctx->encrypt);
201 &ctx->num, ctx->encrypt);
222 ctx->encrypt);
237 ctx->encrypt);
246 ctx->encrypt);
474 if (ctx->encrypt)
H A De_camellia.c289 (*dat->stream.cbc) (in, out, len, &dat->ks, ctx->iv, ctx->encrypt);
290 else if (ctx->encrypt)
330 ctx->iv, &ctx->num, ctx->encrypt, dat->block);
340 ctx->iv, &ctx->num, ctx->encrypt, dat->block);
351 ctx->iv, &ctx->num, ctx->encrypt, dat->block);
357 ctx->iv, &ctx->num, ctx->encrypt, dat->block);
364 ctx->iv, &ctx->num, ctx->encrypt, dat->block);
/freebsd-11-stable/crypto/openssl/crypto/idea/
H A Di_cfb64.c70 unsigned char *ivec, int *num, int encrypt)
79 if (encrypt) {
68 idea_cfb64_encrypt(const unsigned char *in, unsigned char *out, long length, IDEA_KEY_SCHEDULE *schedule, unsigned char *ivec, int *num, int encrypt) argument
/freebsd-11-stable/contrib/serf/buckets/
H A Dssl_buckets.c149 serf_ssl_stream_t encrypt; member in struct:serf_ssl_context_t
176 /* Status of a fatal error, returned on subsequent encrypt or decrypt
269 if (ctx->encrypt.status == SERF_ERROR_WAIT_CONN
276 ctx->encrypt.exhausted_reset = 1;
311 if (ctx->encrypt.status == SERF_ERROR_WAIT_CONN
318 ctx->encrypt.exhausted_reset = 1;
323 ctx->encrypt.pending->allocator);
325 serf_bucket_aggregate_append(ctx->encrypt.pending, tmp);
874 status = serf_bucket_read(ctx->encrypt.pending, bufsize, &data, len);
903 status, ctx->encrypt
[all...]
/freebsd-11-stable/lib/libtelnet/
H A DMakefile20 SRCS+= encrypt.c auth.c enc_des.c sra.c pk.c
/freebsd-11-stable/tests/sys/opencrypto/
H A Dcryptotest.py83 curfun = Crypto.encrypt
112 rct, rtag = c.encrypt(pt, iv, aad)
138 curfun = Crypto.encrypt
166 curfun = Crypto.encrypt
205 curfun = Crypto.encrypt
256 r = c.encrypt(msg)
/freebsd-11-stable/usr.sbin/bluetooth/hccontrol/
H A Dutil.c78 hci_encrypt2str(int encrypt, int brief) argument
93 return (encrypt >= SIZE(t1)? "?" : t1[encrypt]);
95 return (encrypt >= SIZE(t)? "?" : t[encrypt]);
/freebsd-11-stable/sys/dev/pms/RefTisa/sallsdk/spc/
H A Dsassp.c935 if( pIRequest->encrypt.enableEncryptionPerLA && pIRequest->dif.enableDIFPerLA)
939 pIRequest->encrypt.EncryptionPerLAAddrLo );
944 SA_ASSERT(pIRequest->encrypt.EncryptionPerLAAddrHi == pIRequest->dif.DIFPerLAAddrHi, "EPL DPL hi region must be equal");
946 if( pIRequest->encrypt.EncryptionPerLAAddrHi != pIRequest->dif.DIFPerLAAddrHi )
957 pIRequest->encrypt.EncryptionPerLAAddrHi );
959 else if( pIRequest->encrypt.enableEncryptionPerLA)
963 pIRequest->encrypt.EncryptionPerLAAddrLo );
969 pIRequest->encrypt.EncryptionPerLAAddrHi );
1113 pIRequest->encrypt.dekInfo.dekTable,
1114 pIRequest->encrypt
[all...]
H A Dsasata.c343 if(agSATAReq->encrypt.enableEncryptionPerLA)
398 if (agSATAReq->encrypt.keyTagCheck == agTRUE)
403 if( agSATAReq->encrypt.cipherMode == agsaEncryptCipherModeXTS )
408 encryptFlags |= agSATAReq->encrypt.dekInfo.dekTable << SHIFT2;
410 encryptFlags |= (agSATAReq->encrypt.dekInfo.dekIndex & 0xFFFFFF) << SHIFT8;
415 encryptFlags = agSATAReq->encrypt.sectorSizeIndex;
419 if(agSATAReq->encrypt.enableEncryptionPerLA)
421 encryptFlags |= (agSATAReq->encrypt.EncryptionPerLRegion0SecCount << SHIFT16);
424 encryptFlags |= (agSATAReq->encrypt.kekIndex) << SHIFT5;
428 OSSA_WRITE_LE_32(agRoot, payload, OSSA_OFFSET_OF(agsaSATAEncryptStartCmd_t,keyTagLo ), agSATAReq->encrypt
[all...]
/freebsd-11-stable/sys/mips/nlm/hal/
H A Dnlmsaelib.h239 * encrypt : 1 (for encrypt) 0 (for decrypt)
245 unsigned int hashout_l3alloc, unsigned int encrypt, unsigned int ivlen,
251 left_shift64(encrypt, 59, 1) |
493 * encrypt : 1(for encrypt) 0(for decrypt)
507 struct nlm_crypto_pkt_param *param, unsigned int encrypt,
512 param->desc0 = nlm_crypto_form_pkt_desc0(0, hash_source, 1, encrypt,
526 * encrypt : 1(for encrypt)
244 nlm_crypto_form_pkt_desc0(unsigned int tls, unsigned int hash_source, unsigned int hashout_l3alloc, unsigned int encrypt, unsigned int ivlen, uint64_t hashdst_addr) argument
506 nlm_crypto_fill_cipher_auth_pkt_param(struct nlm_crypto_pkt_ctrl *ctrl, struct nlm_crypto_pkt_param *param, unsigned int encrypt, unsigned int hash_source, unsigned int ivoff, unsigned int ivlen, unsigned int hashoff, unsigned int hashlen, unsigned int hmacpad, unsigned int cipheroff, unsigned int cipherlen, unsigned char *hashdst_addr) argument
533 nlm_crypto_fill_cipher_pkt_param(struct nlm_crypto_pkt_ctrl *ctrl, struct nlm_crypto_pkt_param *param, unsigned int encrypt, unsigned int ivoff, unsigned int ivlen, unsigned int cipheroff, unsigned int cipherlen) argument
[all...]
/freebsd-11-stable/sys/opencrypto/
H A Dxform_enc.h57 void (*encrypt) (caddr_t, u_int8_t *); member in struct:enc_xform
/freebsd-11-stable/contrib/telnet/telnet/
H A Dauthenc.c44 #include <libtelnet/encrypt.h>

Completed in 302 milliseconds

12345