/freebsd-current/sys/crypto/openssl/ |
H A D | ossl_aarch64.h | 24 size_t length, const void *key, unsigned char *iv, int encrypt) 27 aes_v8_cbc_encrypt(in, out, length, key, iv, encrypt); 29 vpaes_cbc_encrypt(in, out, length, key, iv, encrypt); 23 AES_CBC_ENCRYPT(const unsigned char *in, unsigned char *out, size_t length, const void *key, unsigned char *iv, int encrypt) argument
|
H A D | ossl_aes.c | 84 bool encrypt; local 87 encrypt = CRYPTO_OP_IS_ENCRYPT(crp->crp_op); 95 if (encrypt) 104 if (encrypt) 139 /* Figure out how many blocks we can encrypt/decrypt at once. */ 142 AES_CBC_ENCRYPT(in, out, seglen, &key, iv, encrypt); 179 bool encrypt; local 181 encrypt = CRYPTO_OP_IS_ENCRYPT(crp->crp_op); 184 if (encrypt) 194 } else if (encrypt) { [all...] |
H A D | ossl_arm.h | 53 size_t length, const void *key, unsigned char *iv, int encrypt) 65 if (!encrypt) { 52 AES_CBC_ENCRYPT(const unsigned char *in, unsigned char *out, size_t length, const void *key, unsigned char *iv, int encrypt) argument
|
H A D | ossl_aes_gcm.h | 41 int (*encrypt)(struct ossl_gcm_context *ctx, const unsigned char *in, member in struct:ossl_aes_gcm_ops
|
/freebsd-current/crypto/openssl/crypto/bf/ |
H A D | bf_ecb.c | 32 const BF_KEY *key, int encrypt) 40 if (encrypt) 31 BF_ecb_encrypt(const unsigned char *in, unsigned char *out, const BF_KEY *key, int encrypt) argument
|
H A D | bf_cfb64.c | 27 unsigned char *ivec, int *num, int encrypt) 36 if (encrypt) { 25 BF_cfb64_encrypt(const unsigned char *in, unsigned char *out, long length, const BF_KEY *schedule, unsigned char *ivec, int *num, int encrypt) argument
|
/freebsd-current/crypto/openssl/crypto/rc2/ |
H A D | rc2_ecb.c | 29 int encrypt) 37 if (encrypt) 28 RC2_ecb_encrypt(const unsigned char *in, unsigned char *out, RC2_KEY *ks, int encrypt) argument
|
H A D | rc2cfb64.c | 27 int *num, int encrypt) 36 if (encrypt) { 25 RC2_cfb64_encrypt(const unsigned char *in, unsigned char *out, long length, RC2_KEY *schedule, unsigned char *ivec, int *num, int encrypt) argument
|
/freebsd-current/crypto/openssl/crypto/rc5/ |
H A D | rc5_ecb.c | 21 RC5_32_KEY *ks, int encrypt) 29 if (encrypt) 20 RC5_32_ecb_encrypt(const unsigned char *in, unsigned char *out, RC5_32_KEY *ks, int encrypt) argument
|
H A D | rc5cfb64.c | 27 unsigned char *ivec, int *num, int encrypt) 36 if (encrypt) { 25 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-current/crypto/heimdal/appl/telnet/libtelnet/ |
H A D | Makefile.am | 15 encrypt.c \ 16 encrypt.h \
|
/freebsd-current/contrib/libfido2/src/ |
H A D | aes256.c | 12 fido_blob_t *out, int encrypt) 38 if (EVP_CipherInit(ctx, cipher, key->ptr, iv, encrypt) == 0 || 56 fido_blob_t *out, int encrypt) 62 return aes256_cbc(key, iv, in, out, encrypt); 67 fido_blob_t *out, int encrypt) 83 if (encrypt) { 96 if (aes256_cbc(&key, iv, &cin, &cout, encrypt) < 0) 98 if (encrypt) { 117 int encrypt) 135 /* add tag to (on encrypt) o 11 aes256_cbc(const fido_blob_t *key, const u_char *iv, const fido_blob_t *in, fido_blob_t *out, int encrypt) argument 55 aes256_cbc_proto1(const fido_blob_t *key, const fido_blob_t *in, fido_blob_t *out, int encrypt) argument 66 aes256_cbc_fips(const fido_blob_t *secret, const fido_blob_t *in, fido_blob_t *out, int encrypt) argument 115 aes256_gcm(const fido_blob_t *key, const fido_blob_t *nonce, const fido_blob_t *aad, const fido_blob_t *in, fido_blob_t *out, int encrypt) argument [all...] |
/freebsd-current/sys/contrib/openzfs/module/icp/algs/aes/ |
H A D | aes_impl_x86-64.c | 56 .encrypt = &aes_encrypt_amd64,
|
/freebsd-current/crypto/openssl/crypto/idea/ |
H A D | i_cfb64.c | 28 unsigned char *ivec, int *num, int encrypt) 42 if (encrypt) { 26 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-current/contrib/bearssl/src/symcipher/ |
H A D | poly1305_i15.c | 131 void *tag, br_chacha20_run ichacha, int encrypt) 147 if (encrypt) { 218 if (!encrypt) { 129 br_poly1305_i15_run(const void *key, const void *iv, void *data, size_t len, const void *aad, size_t aad_len, void *tag, br_chacha20_run ichacha, int encrypt) argument
|
/freebsd-current/contrib/bearssl/inc/ |
H A D | bearssl_aead.h | 58 * - Data to encrypt and protect. 98 * authenticated data, and before beginning to encrypt the plaintext 103 * Process some plaintext (to encrypt) or ciphertext (to decrypt). 240 * been called on the context. If `encrypt` is non-zero, then 248 * \param encrypt non-zero for encryption, zero for decryption. 249 * \param data data to encrypt or decrypt. 252 void (*run)(const br_aead_class **cc, int encrypt, 440 * has been called on the context. If `encrypt` is non-zero, then the 448 * \param encrypt non-zero for encryption, zero for decryption. 449 * \param data data to encrypt o [all...] |
/freebsd-current/lib/libtelnet/ |
H A D | Makefile | 18 SRCS+= encrypt.c auth.c enc_des.c sra.c pk.c
|
/freebsd-current/lib/libc/gen/ |
H A D | crypt.c | 81 fprintf(stderr, "WARNING! encrypt(3) not present in the system!\n"); 88 __sym_compat(encrypt, __freebsd11_encrypt, FBSD_1.0);
|
/freebsd-current/contrib/telnet/telnet/ |
H A D | authenc.c | 42 #include <libtelnet/encrypt.h>
|
/freebsd-current/crypto/openssl/crypto/modes/ |
H A D | ocb128.c | 131 block128_f encrypt, block128_f decrypt, 138 ret = CRYPTO_ocb128_init(octx, keyenc, keydec, encrypt, decrypt, 152 block128_f encrypt, block128_f decrypt, 168 ctx->encrypt = encrypt; 175 ctx->encrypt(ctx->l_star.c, ctx->l_star.c, ctx->keyenc); 244 ctx->encrypt(tmp, ktop, ctx->keyenc); 294 ctx->encrypt(tmp.c, tmp.c, ctx->keyenc); 316 ctx->encrypt(tmp.c, tmp.c, ctx->keyenc); 379 ctx->encrypt(tm 130 CRYPTO_ocb128_new(void *keyenc, void *keydec, block128_f encrypt, block128_f decrypt, ocb128_f stream) argument 151 CRYPTO_ocb128_init(OCB128_CONTEXT *ctx, void *keyenc, void *keydec, block128_f encrypt, block128_f decrypt, ocb128_f stream) argument [all...] |
/freebsd-current/contrib/bearssl/src/aead/ |
H A D | gcm.c | 66 * with an all-zero IV and a zero counter, to CTR-encrypt an 164 br_gcm_run(br_gcm_context *ctx, int encrypt, void *data, size_t len) argument 186 ctx->buf[ptr + u] = encrypt ? y : x; 202 if (!encrypt) { 206 if (encrypt) { 227 ctx->buf[u] = encrypt ? y : x;
|
H A D | ccm.c | 200 br_ccm_run(br_ccm_context *ctx, int encrypt, void *data, size_t len) argument 221 if (encrypt) { 252 * encrypt-then-MAC (CBC-MAC is computed over the encrypted 253 * blocks) while CCM uses MAC-and-encrypt (CBC-MAC is computed 263 if (encrypt) { 267 (*ctx->bctx)->encrypt(ctx->bctx, ctx->ctr, ctx->cbcmac, 282 if (encrypt) {
|
/freebsd-current/usr.sbin/bluetooth/hccontrol/ |
H A D | util.c | 77 hci_encrypt2str(int encrypt, int brief) argument 92 return (encrypt >= SIZE(t1)? "?" : t1[encrypt]); 94 return (encrypt >= SIZE(t)? "?" : t[encrypt]);
|
/freebsd-current/sys/dev/pms/RefTisa/sallsdk/spc/ |
H A D | sassp.c | 934 if( pIRequest->encrypt.enableEncryptionPerLA && pIRequest->dif.enableDIFPerLA) 938 pIRequest->encrypt.EncryptionPerLAAddrLo ); 943 SA_ASSERT(pIRequest->encrypt.EncryptionPerLAAddrHi == pIRequest->dif.DIFPerLAAddrHi, "EPL DPL hi region must be equal"); 945 if( pIRequest->encrypt.EncryptionPerLAAddrHi != pIRequest->dif.DIFPerLAAddrHi ) 956 pIRequest->encrypt.EncryptionPerLAAddrHi ); 958 else if( pIRequest->encrypt.enableEncryptionPerLA) 962 pIRequest->encrypt.EncryptionPerLAAddrLo ); 968 pIRequest->encrypt.EncryptionPerLAAddrHi ); 1112 pIRequest->encrypt.dekInfo.dekTable, 1113 pIRequest->encrypt [all...] |
H A D | sasata.c | 342 if(agSATAReq->encrypt.enableEncryptionPerLA) 397 if (agSATAReq->encrypt.keyTagCheck == agTRUE) 402 if( agSATAReq->encrypt.cipherMode == agsaEncryptCipherModeXTS ) 407 encryptFlags |= agSATAReq->encrypt.dekInfo.dekTable << SHIFT2; 409 encryptFlags |= (agSATAReq->encrypt.dekInfo.dekIndex & 0xFFFFFF) << SHIFT8; 414 encryptFlags = agSATAReq->encrypt.sectorSizeIndex; 418 if(agSATAReq->encrypt.enableEncryptionPerLA) 420 encryptFlags |= (agSATAReq->encrypt.EncryptionPerLRegion0SecCount << SHIFT16); 423 encryptFlags |= (agSATAReq->encrypt.kekIndex) << SHIFT5; 427 OSSA_WRITE_LE_32(agRoot, payload, OSSA_OFFSET_OF(agsaSATAEncryptStartCmd_t,keyTagLo ), agSATAReq->encrypt [all...] |