| /freebsd-12-stable/contrib/serf/buckets/ |
| D | ssl_buckets.c | 149 serf_ssl_stream_t encrypt; member 269 if (ctx->encrypt.status == SERF_ERROR_WAIT_CONN in bio_bucket_read() 276 ctx->encrypt.exhausted_reset = 1; in bio_bucket_read() 311 if (ctx->encrypt.status == SERF_ERROR_WAIT_CONN in bio_bucket_write() 318 ctx->encrypt.exhausted_reset = 1; in bio_bucket_write() 323 ctx->encrypt.pending->allocator); in bio_bucket_write() 325 serf_bucket_aggregate_append(ctx->encrypt.pending, tmp); in bio_bucket_write() 874 status = serf_bucket_read(ctx->encrypt.pending, bufsize, &data, len); in ssl_encrypt() 903 status, ctx->encrypt.status, in ssl_encrypt() 907 ctx->encrypt.status = APR_SUCCESS; in ssl_encrypt() [all …]
|
| /freebsd-12-stable/crypto/openssl/crypto/modes/ |
| D | ocb128.c | 131 block128_f encrypt, block128_f decrypt, in CRYPTO_ocb128_new() argument 138 ret = CRYPTO_ocb128_init(octx, keyenc, keydec, encrypt, decrypt, in CRYPTO_ocb128_new() 152 block128_f encrypt, block128_f decrypt, in CRYPTO_ocb128_init() argument 168 ctx->encrypt = encrypt; in CRYPTO_ocb128_init() 175 ctx->encrypt(ctx->l_star.c, ctx->l_star.c, ctx->keyenc); in CRYPTO_ocb128_init() 244 ctx->encrypt(tmp, ktop, ctx->keyenc); in CRYPTO_ocb128_setiv() 294 ctx->encrypt(tmp.c, tmp.c, ctx->keyenc); in CRYPTO_ocb128_aad() 316 ctx->encrypt(tmp.c, tmp.c, ctx->keyenc); in CRYPTO_ocb128_aad() 379 ctx->encrypt(tmp.c, tmp.c, ctx->keyenc); in CRYPTO_ocb128_encrypt() 400 ctx->encrypt(ctx->sess.offset.c, pad.c, ctx->keyenc); in CRYPTO_ocb128_encrypt() [all …]
|
| /freebsd-12-stable/sys/dev/pms/RefTisa/sallsdk/spc/ |
| D | sasata.c | 343 if(agSATAReq->encrypt.enableEncryptionPerLA) in saSATAStart() 398 if (agSATAReq->encrypt.keyTagCheck == agTRUE) in saSATAStart() 403 if( agSATAReq->encrypt.cipherMode == agsaEncryptCipherModeXTS ) in saSATAStart() 408 encryptFlags |= agSATAReq->encrypt.dekInfo.dekTable << SHIFT2; in saSATAStart() 410 encryptFlags |= (agSATAReq->encrypt.dekInfo.dekIndex & 0xFFFFFF) << SHIFT8; in saSATAStart() 415 encryptFlags = agSATAReq->encrypt.sectorSizeIndex; in saSATAStart() 419 if(agSATAReq->encrypt.enableEncryptionPerLA) in saSATAStart() 421 encryptFlags |= (agSATAReq->encrypt.EncryptionPerLRegion0SecCount << SHIFT16); in saSATAStart() 424 encryptFlags |= (agSATAReq->encrypt.kekIndex) << SHIFT5; in saSATAStart() 428 …oot, payload, OSSA_OFFSET_OF(agsaSATAEncryptStartCmd_t,keyTagLo ), agSATAReq->encrypt.keyTag_W0 ); in saSATAStart() [all …]
|
| D | sassp.c | 935 if( pIRequest->encrypt.enableEncryptionPerLA && pIRequest->dif.enableDIFPerLA) in saSSPStart() 939 pIRequest->encrypt.EncryptionPerLAAddrLo ); in saSSPStart() 944 …SA_ASSERT(pIRequest->encrypt.EncryptionPerLAAddrHi == pIRequest->dif.DIFPerLAAddrHi, "EPL DPL hi r… in saSSPStart() 946 if( pIRequest->encrypt.EncryptionPerLAAddrHi != pIRequest->dif.DIFPerLAAddrHi ) in saSSPStart() 957 pIRequest->encrypt.EncryptionPerLAAddrHi ); in saSSPStart() 959 else if( pIRequest->encrypt.enableEncryptionPerLA) in saSSPStart() 963 pIRequest->encrypt.EncryptionPerLAAddrLo ); in saSSPStart() 969 pIRequest->encrypt.EncryptionPerLAAddrHi ); in saSSPStart() 1113 pIRequest->encrypt.dekInfo.dekTable, in saSSPStart() 1114 pIRequest->encrypt.dekInfo.dekIndex)); in saSSPStart() [all …]
|
| /freebsd-12-stable/usr.sbin/bluetooth/hccontrol/ |
| D | util.c | 78 hci_encrypt2str(int encrypt, int brief) in hci_encrypt2str() argument 93 return (encrypt >= SIZE(t1)? "?" : t1[encrypt]); in hci_encrypt2str() 95 return (encrypt >= SIZE(t)? "?" : t[encrypt]); in hci_encrypt2str()
|
| /freebsd-12-stable/crypto/openssl/crypto/evp/ |
| D | e_chacha20_poly1305.c | 240 if (ctx->encrypt) in chacha20_poly1305_tls_cipher() 264 if (ctx->encrypt) { in chacha20_poly1305_tls_cipher() 298 if (ctx->encrypt) { in chacha20_poly1305_tls_cipher() 344 Poly1305_Final(POLY1305_ctx(actx), ctx->encrypt ? actx->tag in chacha20_poly1305_tls_cipher() 349 if (ctx->encrypt) { in chacha20_poly1305_tls_cipher() 412 if (ctx->encrypt) { /* plaintext */ in chacha20_poly1305_cipher() 470 Poly1305_Final(POLY1305_ctx(actx), ctx->encrypt ? actx->tag in chacha20_poly1305_cipher() 475 if (ctx->encrypt) { in chacha20_poly1305_cipher() 484 else if (!ctx->encrypt) { in chacha20_poly1305_cipher() 568 if (arg <= 0 || arg > POLY1305_BLOCK_SIZE || !ctx->encrypt) in chacha20_poly1305_ctrl() [all …]
|
| D | evp_enc.c | 65 enc = ctx->encrypt; in EVP_CipherInit_ex() 69 ctx->encrypt = enc; in EVP_CipherInit_ex() 96 ctx->encrypt = enc; in EVP_CipherInit_ex() 213 if (ctx->encrypt) in EVP_CipherUpdate() 221 if (ctx->encrypt) in EVP_CipherFinal_ex() 229 if (ctx->encrypt) in EVP_CipherFinal() 402 if (!ctx->encrypt) { in EVP_EncryptUpdate() 423 if (!ctx->encrypt) { in EVP_EncryptFinal_ex() 473 if (ctx->encrypt) { in EVP_DecryptUpdate() 573 if (ctx->encrypt) { in EVP_DecryptFinal_ex()
|
| D | pmeth_fn.c | 139 if (!ctx || !ctx->pmeth || !ctx->pmeth->encrypt) { in EVP_PKEY_encrypt_init() 157 if (!ctx || !ctx->pmeth || !ctx->pmeth->encrypt) { in EVP_PKEY_encrypt() 167 return ctx->pmeth->encrypt(ctx, out, outlen, in, inlen); in EVP_PKEY_encrypt() 225 || !(ctx->pmeth->derive || ctx->pmeth->encrypt || ctx->pmeth->decrypt) in EVP_PKEY_derive_set_peer()
|
| /freebsd-12-stable/contrib/bearssl/inc/ |
| D | bearssl_aead.h | 252 void (*run)(const br_aead_class **cc, int encrypt, 452 void br_gcm_run(br_gcm_context *ctx, int encrypt, void *data, size_t len); 765 void br_eax_run(br_eax_context *ctx, int encrypt, void *data, size_t len); 1012 void br_ccm_run(br_ccm_context *ctx, int encrypt, void *data, size_t len);
|
| /freebsd-12-stable/tests/sys/opencrypto/ |
| D | cryptotest.py | 100 curfun = Crypto.encrypt 137 rct, rtag = c.encrypt(pt, iv, aad) 174 curfun = Crypto.encrypt 202 curfun = Crypto.encrypt 255 r, tag = Crypto.encrypt(c, payload, 334 curfun = Crypto.encrypt 405 _, r = c.encrypt(msg, iv="") 462 _, r = c.encrypt(msg, iv="")
|
| D | cryptodev.py | 318 def encrypt(self, data, iv, aad=None): member in Crypto 545 enc = c.encrypt(pt, iv) 566 enc = c.encrypt(pt, iv) 586 enc = c.encrypt(pt, iv) 612 enc, enctag = c.encrypt(pt, iv, aad=aad) 648 enc, enctag = c.encrypt(pt, iv, aad=aad) 665 enc = c.encrypt(data, iv) 673 enc = c.encrypt(data, iv)
|
| /freebsd-12-stable/sys/mips/nlm/hal/ |
| D | nlmsaelib.h | 247 unsigned int hashout_l3alloc, unsigned int encrypt, unsigned int ivlen, in nlm_crypto_form_pkt_desc0() argument 253 left_shift64(encrypt, 59, 1) | in nlm_crypto_form_pkt_desc0() 509 struct nlm_crypto_pkt_param *param, unsigned int encrypt, in nlm_crypto_fill_cipher_auth_pkt_param() argument 514 param->desc0 = nlm_crypto_form_pkt_desc0(0, hash_source, 1, encrypt, in nlm_crypto_fill_cipher_auth_pkt_param() 536 struct nlm_crypto_pkt_param *param, unsigned int encrypt, in nlm_crypto_fill_cipher_pkt_param() argument 540 param->desc0 = nlm_crypto_form_pkt_desc0(0, 0, 0, encrypt, ivlen, 0ULL); in nlm_crypto_fill_cipher_pkt_param()
|
| /freebsd-12-stable/contrib/bearssl/src/symcipher/ |
| D | poly1305_i15.c | 131 void *tag, br_chacha20_run ichacha, int encrypt) in br_poly1305_i15_run() argument 147 if (encrypt) { in br_poly1305_i15_run() 218 if (!encrypt) { in br_poly1305_i15_run()
|
| /freebsd-12-stable/contrib/bearssl/src/aead/ |
| D | ccm.c | 200 br_ccm_run(br_ccm_context *ctx, int encrypt, void *data, size_t len) in br_ccm_run() argument 221 if (encrypt) { in br_ccm_run() 263 if (encrypt) { in br_ccm_run() 267 (*ctx->bctx)->encrypt(ctx->bctx, ctx->ctr, ctx->cbcmac, in br_ccm_run() 282 if (encrypt) { in br_ccm_run()
|
| D | gcm.c | 164 br_gcm_run(br_gcm_context *ctx, int encrypt, void *data, size_t len) in br_gcm_run() argument 186 ctx->buf[ptr + u] = encrypt ? y : x; in br_gcm_run() 202 if (!encrypt) { in br_gcm_run() 206 if (encrypt) { in br_gcm_run() 227 ctx->buf[u] = encrypt ? y : x; in br_gcm_run()
|
| D | eax.c | 336 br_eax_run(br_eax_context *ctx, int encrypt, void *data, size_t len) in br_eax_run() argument 366 if (encrypt) { in br_eax_run() 411 if (encrypt) { in br_eax_run() 412 (*ctx->bctx)->encrypt(ctx->bctx, ctx->ctr, ctx->cbcmac, in br_eax_run() 426 if (encrypt) { in br_eax_run()
|
| /freebsd-12-stable/crypto/openssl/crypto/rc2/ |
| D | rc2_ecb.c | 23 int encrypt) in RC2_ecb_encrypt() argument 31 if (encrypt) in RC2_ecb_encrypt()
|
| D | rc2cfb64.c | 21 int *num, int encrypt) in RC2_cfb64_encrypt() argument 30 if (encrypt) { in RC2_cfb64_encrypt()
|
| /freebsd-12-stable/crypto/openssl/crypto/rc5/ |
| D | rc5_ecb.c | 15 RC5_32_KEY *ks, int encrypt) in RC5_32_ecb_encrypt() argument 23 if (encrypt) in RC5_32_ecb_encrypt()
|
| /freebsd-12-stable/crypto/openssl/crypto/bf/ |
| D | bf_ecb.c | 26 const BF_KEY *key, int encrypt) in BF_ecb_encrypt() argument 34 if (encrypt) in BF_ecb_encrypt()
|
| /freebsd-12-stable/sys/crypto/blowfish/ |
| D | bf_ecb.c | 72 BF_KEY *key, int encrypt) in BF_ecb_encrypt() argument 78 if (encrypt) in BF_ecb_encrypt()
|
| /freebsd-12-stable/crypto/heimdal/appl/telnet/libtelnet/ |
| D | Makefile.am | 15 encrypt.c \ 16 encrypt.h \
|
| /freebsd-12-stable/crypto/openssh/ |
| D | cipher.c | 60 int encrypt; member 262 cc->encrypt = do_encrypt; in cipher_init() 350 len, aadlen, authlen, cc->encrypt); in cipher_crypt() 376 if (!cc->encrypt && in cipher_crypt() 395 return cc->encrypt ? in cipher_crypt() 397 if (cc->encrypt && in cipher_crypt()
|
| D | PROTOCOL.chacha20poly1305 | 41 to encrypt the 4 byte packet length field. The second instance, 43 (Authenticated Encryption with Associated Data) that is used to encrypt 49 the MAC. By using an independently-keyed cipher instance to encrypt the 80 To send a packet, first encode the 4 byte length and encrypt it using 88 used to encrypt more than 2^70 bytes under the same {key, nonce}. The
|
| /freebsd-12-stable/crypto/openssl/doc/man1/ |
| D | cms.pod | 12 [B<-encrypt>] 107 The B<cms> command handles S/MIME v3.1 mail. It can encrypt, decrypt, sign and 122 =item B<-encrypt> 217 B<-encrypt> or B<-sign>) this option has no effect. 311 If not specified triple DES is used. Only used with B<-encrypt> and 405 identifier extension. Supported by B<-sign> and B<-encrypt> options. 432 B<-EncryptedData_decrypt>, B<-encrypt> and B<-decrypt> options. When used 433 with B<-encrypt> or B<-decrypt> the supplied key is used to wrap or unwrap the 440 B<-encrypt>. With B<-decrypt> operations the B<id> is used to locate the 529 The options B<-encrypt> and B<-decrypt> reflect common usage in S/MIME [all …]
|