| /freebsd-14.2/crypto/openssl/test/ssl-tests/ |
| H A D | 19-mac-then-encrypt.cnf | 5 test-0 = 0-disable-encrypt-then-mac-server-sha 6 test-1 = 1-disable-encrypt-then-mac-client-sha 7 test-2 = 2-disable-encrypt-then-mac-both-sha 8 test-3 = 3-disable-encrypt-then-mac-server-sha2 10 test-5 = 5-disable-encrypt-then-mac-both-sha2 16 [0-disable-encrypt-then-mac-server-sha] 19 [0-disable-encrypt-then-mac-server-sha-ssl] 41 [1-disable-encrypt-then-mac-client-sha] 66 [2-disable-encrypt-then-mac-both-sha] 92 [3-disable-encrypt-then-mac-server-sha2] [all …]
|
| H A D | 19-mac-then-encrypt.cnf.in | 20 name => "disable-encrypt-then-mac-server-sha", 33 name => "disable-encrypt-then-mac-client-sha", 46 name => "disable-encrypt-then-mac-both-sha", 63 name => "disable-encrypt-then-mac-server-sha2", 76 name => "disable-encrypt-then-mac-client-sha2", 89 name => "disable-encrypt-then-mac-both-sha2", 106 name => "disable-encrypt-then-mac-server-sha-tls1", 121 name => "disable-encrypt-then-mac-client-sha-tls1", 136 name => "disable-encrypt-then-mac-both-sha-tls1",
|
| /freebsd-14.2/contrib/libfido2/src/ |
| H A D | aes256.c | 12 fido_blob_t *out, int encrypt) in aes256_cbc() argument 56 fido_blob_t *out, int encrypt) in aes256_cbc_proto1() argument 62 return aes256_cbc(key, iv, in, out, encrypt); in aes256_cbc_proto1() 67 fido_blob_t *out, int encrypt) in aes256_cbc_fips() argument 83 if (encrypt) { in aes256_cbc_fips() 96 if (aes256_cbc(&key, iv, &cin, &cout, encrypt) < 0) in aes256_cbc_fips() 98 if (encrypt) { in aes256_cbc_fips() 117 int encrypt) in aes256_gcm() argument 136 out->len = encrypt ? in->len + 16 : in->len - 16; in aes256_gcm() 151 if (encrypt) in aes256_gcm() [all …]
|
| /freebsd-14.2/sys/crypto/openssl/ |
| H A D | ossl_aes.c | 85 bool encrypt; in ossl_aes_cbc() local 88 encrypt = CRYPTO_OP_IS_ENCRYPT(crp->crp_op); in ossl_aes_cbc() 96 if (encrypt) in ossl_aes_cbc() 105 if (encrypt) in ossl_aes_cbc() 143 AES_CBC_ENCRYPT(in, out, seglen, &key, iv, encrypt); in ossl_aes_cbc() 180 bool encrypt; in ossl_aes_gcm() local 182 encrypt = CRYPTO_OP_IS_ENCRYPT(crp->crp_op); in ossl_aes_gcm() 185 if (encrypt) in ossl_aes_gcm() 195 } else if (encrypt) { in ossl_aes_gcm() 234 if (encrypt) { in ossl_aes_gcm() [all …]
|
| H A D | ossl_aarch64.h | 24 size_t length, const void *key, unsigned char *iv, int encrypt) in AES_CBC_ENCRYPT() argument 27 aes_v8_cbc_encrypt(in, out, length, key, iv, encrypt); in AES_CBC_ENCRYPT() 29 vpaes_cbc_encrypt(in, out, length, key, iv, encrypt); in AES_CBC_ENCRYPT()
|
| /freebsd-14.2/crypto/openssl/crypto/modes/ |
| H A D | ocb128.c | 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() 492 ctx->encrypt(ctx->sess.offset.c, pad.c, ctx->keyenc); in CRYPTO_ocb128_decrypt() [all …]
|
| /freebsd-14.2/sys/dev/pms/RefTisa/sallsdk/spc/ |
| H A D | sasata.c | 342 if(agSATAReq->encrypt.enableEncryptionPerLA) in saSATAStart() 397 if (agSATAReq->encrypt.keyTagCheck == agTRUE) in saSATAStart() 402 if( agSATAReq->encrypt.cipherMode == agsaEncryptCipherModeXTS ) in saSATAStart() 407 encryptFlags |= agSATAReq->encrypt.dekInfo.dekTable << SHIFT2; in saSATAStart() 409 encryptFlags |= (agSATAReq->encrypt.dekInfo.dekIndex & 0xFFFFFF) << SHIFT8; in saSATAStart() 414 encryptFlags = agSATAReq->encrypt.sectorSizeIndex; in saSATAStart() 418 if(agSATAReq->encrypt.enableEncryptionPerLA) in saSATAStart() 423 encryptFlags |= (agSATAReq->encrypt.kekIndex) << SHIFT5; in saSATAStart() 462 if(agSATAReq->encrypt.enableEncryptionPerLA) in saSATAStart() 466 agSATAReq->encrypt.EncryptionPerLAAddrLo); in saSATAStart() [all …]
|
| H A D | sassp.c | 1112 pIRequest->encrypt.dekInfo.dekTable, in saSSPStart() 1113 pIRequest->encrypt.dekInfo.dekIndex)); in saSSPStart() 1116 pIRequest->encrypt.kekIndex, in saSSPStart() 1117 pIRequest->encrypt.sectorSizeIndex, in saSSPStart() 1118 pIRequest->encrypt.cipherMode)); in saSSPStart() 1121 pIRequest->encrypt.keyTag_W0, in saSSPStart() 1122 pIRequest->encrypt.keyTag_W1)); in saSSPStart() 1124 pIRequest->encrypt.tweakVal_W0, in saSSPStart() 1125 pIRequest->encrypt.tweakVal_W1)); in saSSPStart() 1127 pIRequest->encrypt.tweakVal_W2, in saSSPStart() [all …]
|
| /freebsd-14.2/sys/contrib/openzfs/module/os/freebsd/zfs/ |
| H A D | zio_crypt.c | 412 __FUNCTION__, __LINE__, encrypt ? "EIO" : "ECKSUM"); in zio_do_crypt_uio_opencrypto() 414 ret = SET_ERROR(encrypt ? EIO : ECKSUM); in zio_do_crypt_uio_opencrypto() 1258 if (encrypt) { in zio_crypt_init_uios_zil() 1432 if (encrypt) { in zio_crypt_init_uios_dnode() 1583 if (encrypt) { in zio_crypt_init_uios_normal() 1678 zio_do_crypt_data(boolean_t encrypt, zio_crypt_key_t *key, in zio_do_crypt_data() argument 1703 encrypt ? "encrypt" : "decrypt", in zio_do_crypt_data() 1766 if (!encrypt) { in zio_do_crypt_data() 1796 if (encrypt) { in zio_do_crypt_abd() 1809 if (encrypt) { in zio_do_crypt_abd() [all …]
|
| H A D | crypto_os.c | 214 freebsd_crypt_uio_debug_log(boolean_t encrypt, in freebsd_crypt_uio_debug_log() argument 230 __FUNCTION__, encrypt ? "encrypt" : "decrypt", input_sessionp, in freebsd_crypt_uio_debug_log() 337 freebsd_crypt_uio(boolean_t encrypt, in freebsd_crypt_uio() argument 351 freebsd_crypt_uio_debug_log(encrypt, input_sessionp, c_info, data_uio, in freebsd_crypt_uio() 365 if (encrypt) { in freebsd_crypt_uio() 504 freebsd_crypt_uio(boolean_t encrypt, in freebsd_crypt_uio() argument 520 freebsd_crypt_uio_debug_log(encrypt, input_sessionp, c_info, data_uio, in freebsd_crypt_uio() 618 if (encrypt) in freebsd_crypt_uio()
|
| /freebsd-14.2/crypto/openssl/doc/life-cycles/ |
| H A D | pkey.dot | 10 encrypt [fontcolor="#63AAC0", color="#63AAC0"] 29 newed -> encrypt [label="EVP_PKEY_encrypt_init", fontcolor="#63AAC0", color="#63AAC0"]; 30 encrypt -> encrypt [label="EVP_PKEY_encrypt", fontcolor="#63AAC0", color="#63AAC0"];
|
| /freebsd-14.2/crypto/openssl/crypto/evp/ |
| H A D | e_chacha20_poly1305.c | 242 if (ctx->encrypt) in chacha20_poly1305_tls_cipher() 266 if (ctx->encrypt) { in chacha20_poly1305_tls_cipher() 300 if (ctx->encrypt) { in chacha20_poly1305_tls_cipher() 343 Poly1305_Final(POLY1305_ctx(actx), ctx->encrypt ? actx->tag in chacha20_poly1305_tls_cipher() 348 if (ctx->encrypt) { in chacha20_poly1305_tls_cipher() 411 if (ctx->encrypt) { /* plaintext */ in chacha20_poly1305_cipher() 466 Poly1305_Final(POLY1305_ctx(actx), ctx->encrypt ? actx->tag in chacha20_poly1305_cipher() 471 if (ctx->encrypt) { in chacha20_poly1305_cipher() 480 else if (!ctx->encrypt) { in chacha20_poly1305_cipher() 564 if (arg <= 0 || arg > POLY1305_BLOCK_SIZE || !ctx->encrypt) in chacha20_poly1305_ctrl() [all …]
|
| /freebsd-14.2/usr.sbin/bluetooth/hccontrol/ |
| H A D | util.c | 77 hci_encrypt2str(int encrypt, int brief) in hci_encrypt2str() argument 92 return (encrypt >= SIZE(t1)? "?" : t1[encrypt]); in hci_encrypt2str() 94 return (encrypt >= SIZE(t)? "?" : t[encrypt]); in hci_encrypt2str()
|
| /freebsd-14.2/contrib/bearssl/inc/ |
| H A 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-14.2/crypto/openssl/doc/man7/ |
| H A D | life_cycle-pkey.pod | 45 =item encrypt 165 … encrypt encrypt encrypt encrypt encrypt encrypt encrypt … 209 <th style="border:1px solid" align="center">encrypt</th> 371 <td style="border:1px solid" align="center">encrypt</td> 372 <td style="border:1px solid" align="center">encrypt</td> 373 <td style="border:1px solid" align="center">encrypt</td> 374 <td style="border:1px solid" align="center">encrypt</td> 375 <td style="border:1px solid" align="center">encrypt</td> 376 <td style="border:1px solid" align="center">encrypt</td> 377 <td style="border:1px solid" align="center">encrypt</td> [all …]
|
| /freebsd-14.2/sys/contrib/openzfs/module/os/linux/zfs/ |
| H A D | zio_crypt.c | 422 if (encrypt) { in zio_do_crypt_uio() 466 if (encrypt) { in zio_do_crypt_uio() 1418 if (encrypt) { in zio_crypt_init_uios_zil() 1582 if (encrypt) { in zio_crypt_init_uios_zil() 1632 if (encrypt) { in zio_crypt_init_uios_dnode() 1770 if (encrypt) { in zio_crypt_init_uios_dnode() 1807 (void) encrypt; in zio_crypt_init_uios_normal() 1972 if (encrypt) { in zio_do_crypt_data() 2044 if (encrypt) { in zio_do_crypt_abd() 2057 if (encrypt) { in zio_do_crypt_abd() [all …]
|
| /freebsd-14.2/contrib/bearssl/src/symcipher/ |
| H A 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-14.2/crypto/openssl/crypto/rc2/ |
| H A D | rc2_ecb.c | 29 int encrypt) in RC2_ecb_encrypt() argument 37 if (encrypt) in RC2_ecb_encrypt()
|
| /freebsd-14.2/crypto/openssl/crypto/rc5/ |
| H A D | rc5_ecb.c | 21 RC5_32_KEY *ks, int encrypt) in RC5_32_ecb_encrypt() argument 29 if (encrypt) in RC5_32_ecb_encrypt()
|
| /freebsd-14.2/crypto/openssl/test/ |
| H A D | igetest.c | 43 const int encrypt; member 88 const int encrypt; member 160 if (v->encrypt == AES_ENCRYPT) in test_ige_vectors() 165 AES_ige_encrypt(v->in, buf, v->length, &key, iv, v->encrypt); in test_ige_vectors() 178 AES_ige_encrypt(buf, buf, v->length, &key, iv, v->encrypt); in test_ige_vectors() 201 if (v->encrypt == AES_ENCRYPT) { in test_bi_ige_vectors() 210 v->encrypt); in test_bi_ige_vectors()
|
| /freebsd-14.2/crypto/openssl/crypto/bf/ |
| H A D | bf_ecb.c | 32 const BF_KEY *key, int encrypt) in BF_ecb_encrypt() argument 40 if (encrypt) in BF_ecb_encrypt()
|
| /freebsd-14.2/crypto/heimdal/appl/telnet/libtelnet/ |
| H A D | Makefile.am | 15 encrypt.c \ 16 encrypt.h \
|
| /freebsd-14.2/contrib/bearssl/src/aead/ |
| H A 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()
|
| H A 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()
|
| /freebsd-14.2/crypto/openssh/ |
| H A 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()
|