Home
last modified time | relevance | path

Searched refs:encrypt (Results 1 – 25 of 283) sorted by relevance

12345678910>>...12

/netbsd-src/crypto/external/bsd/openssl/dist/test/ssl-tests/
H A D19-mac-then-encrypt.cnf5 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
9 test-4 = 4-disable-encrypt-then-mac-client-sha2
10 test-5 = 5-disable-encrypt-then-mac-both-sha2
11 test-6 = 6-disable-encrypt-then-mac-server-sha-tls1
12 test-7 = 7-disable-encrypt-then-mac-client-sha-tls1
13 test-8 = 8-disable-encrypt-then-mac-both-sha-tls1
16 [0-disable-encrypt-then-mac-server-sha]
[all …]
H A D19-mac-then-encrypt.cnf.in20 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",
/netbsd-src/crypto/external/bsd/openssl.old/dist/test/ssl-tests/
H A D19-mac-then-encrypt.conf5 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
9 test-4 = 4-disable-encrypt-then-mac-client-sha2
10 test-5 = 5-disable-encrypt-then-mac-both-sha2
13 [0-disable-encrypt-then-mac-server-sha]
14 ssl_conf = 0-disable-encrypt-then-mac-server-sha-ssl
16 [0-disable-encrypt-then-mac-server-sha-ssl]
17 server = 0-disable-encrypt-then-mac-server-sha-server
[all …]
H A D19-mac-then-encrypt.conf.in18 name => "disable-encrypt-then-mac-server-sha",
31 name => "disable-encrypt-then-mac-client-sha",
44 name => "disable-encrypt-then-mac-both-sha",
61 name => "disable-encrypt-then-mac-server-sha2",
74 name => "disable-encrypt-then-mac-client-sha2",
87 name => "disable-encrypt-then-mac-both-sha2",
/netbsd-src/external/bsd/libfido2/dist/src/
H A Daes256.c12 fido_blob_t *out, int encrypt) in aes256_cbc() argument
38 if (EVP_CipherInit(ctx, cipher, key->ptr, iv, encrypt) == 0 || in aes256_cbc()
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()
[all …]
/netbsd-src/crypto/external/bsd/netpgp/dist/src/lib/
H A Dsymmetric.c758 pgp_encrypt_init(pgp_crypt_t *encrypt) in pgp_encrypt_init() argument
761 pgp_decrypt_init(encrypt); in pgp_encrypt_init()
803 pgp_encrypt_se(pgp_crypt_t *encrypt, void *outvoid, const void *invoid, in pgp_encrypt_se() argument
815 if ((size_t) encrypt->num == encrypt->blocksize) { in pgp_encrypt_se()
816 (void) memcpy(encrypt->siv, encrypt->civ, in pgp_encrypt_se()
817 encrypt->blocksize); in pgp_encrypt_se()
818 encrypt->block_encrypt(encrypt, encrypt->civ, in pgp_encrypt_se()
819 encrypt->civ); in pgp_encrypt_se()
820 encrypt->num = 0; in pgp_encrypt_se()
822 encrypt->civ[encrypt->num] = *out++ = in pgp_encrypt_se()
[all …]
/netbsd-src/crypto/external/bsd/openssl.old/dist/crypto/modes/
H A Docb128.c131 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 …]
/netbsd-src/crypto/external/bsd/openssl/dist/crypto/modes/
H A Docb128.c131 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 …]
/netbsd-src/crypto/external/bsd/heimdal/dist/lib/hcrypto/
H A Devp-hcrypto.c70 if (ctx->encrypt || EVP_CIPHER_CTX_mode(ctx) == EVP_CIPH_CFB8_MODE) in aes_init()
85 AES_cfb8_encrypt(in, out, size, k, ctx->iv, ctx->encrypt); in aes_do_cipher()
87 AES_cbc_encrypt(in, out, size, k, ctx->iv, ctx->encrypt); in aes_do_cipher()
431 k, (DES_cblock *)ctx->iv, ctx->encrypt); in des_cbc_do_cipher()
505 (DES_cblock *)ctx->iv, ctx->encrypt); in des_ede3_cbc_do_cipher()
569 RC2_cbc_encrypt(in, out, size, &k->key, ctx->iv, ctx->encrypt); in rc2_do_cipher()
679 CAMELLIA_cbc_encrypt(in, out, size, k, ctx->iv, ctx->encrypt); in camellia_do_cipher()
/netbsd-src/crypto/external/bsd/heimdal/dist/lib/hx509/data/
H A Dgen-req.sh222 -encrypt \
232 -encrypt \
242 -encrypt \
252 -encrypt \
262 -encrypt \
272 -encrypt \
282 -encrypt \
/netbsd-src/crypto/external/bsd/openssl/dist/doc/man7/
H A Dlife_cycle-pkey.pod45 =item encrypt
47 This state represents the PKEY when it is ready to encrypt some plaintext.
113 … EVP_PKEY_encapsulate | | | | | | EVP_PKEY_encrypt | encrypt |
149 …start newed digest verify verify encrypt decrypt derive …
165encrypt encrypt encrypt encrypt encrypt encrypt encrypt
166 EVP_PKEY_encrypt encrypt
186 …EVP_PKEY_CTX_get_params newed digest verify verify encrypt
188 …EVP_PKEY_CTX_set_params newed digest verify verify encrypt
190 …EVP_PKEY_CTX_gettable_params newed digest verify verify encrypt
192 …EVP_PKEY_CTX_settable_params newed digest verify verify encrypt
[all …]
/netbsd-src/crypto/external/bsd/openssl.old/dist/crypto/evp/
H A De_chacha20_poly1305.c240 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 …]
H A Devp_enc.c65 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()
/netbsd-src/crypto/external/bsd/openssl/dist/crypto/evp/
H A De_chacha20_poly1305.c242 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 …]
/netbsd-src/crypto/external/bsd/openssl/dist/doc/life-cycles/
H A Dpkey.dot10 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"];
/netbsd-src/crypto/external/bsd/openssl/dist/test/
H A Digetest.c43 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()
/netbsd-src/crypto/external/bsd/openssl.old/dist/test/
H A Digetest.c38 const int encrypt; member
83 const int encrypt; member
155 if (v->encrypt == AES_ENCRYPT) in test_ige_vectors()
160 AES_ige_encrypt(v->in, buf, v->length, &key, iv, v->encrypt); in test_ige_vectors()
173 AES_ige_encrypt(buf, buf, v->length, &key, iv, v->encrypt); in test_ige_vectors()
196 if (v->encrypt == AES_ENCRYPT) { in test_bi_ige_vectors()
205 v->encrypt); in test_bi_ige_vectors()
/netbsd-src/external/bsd/elftosb/dist/common/
H A Drijndael.cpp1058 encrypt(input,outBuffer); in blockEncrypt()
1068 encrypt(block,outBuffer); in blockEncrypt()
1077 encrypt(block,outBuffer); in blockEncrypt()
1098 encrypt(block,block); in blockEncrypt()
1144 encrypt(input, outBuffer); in padEncrypt()
1152 encrypt(block,outBuffer); in padEncrypt()
1162 encrypt(block, outBuffer); in padEncrypt()
1175 encrypt(block,outBuffer); in padEncrypt()
1253 encrypt(block, block); in blockDecrypt()
1455 void Rijndael::encrypt(const uint8_t a[16], uint8_t b[16]) in encrypt() function in Rijndael
/netbsd-src/crypto/external/bsd/openssl.old/dist/crypto/rc2/
H A Drc2_ecb.c23 int encrypt) in RC2_ecb_encrypt() argument
31 if (encrypt) in RC2_ecb_encrypt()
/netbsd-src/crypto/external/bsd/openssl.old/dist/crypto/rc5/
H A Drc5_ecb.c15 RC5_32_KEY *ks, int encrypt) in RC5_32_ecb_encrypt() argument
23 if (encrypt) in RC5_32_ecb_encrypt()
/netbsd-src/crypto/external/bsd/openssl/dist/crypto/rc2/
H A Drc2_ecb.c29 int encrypt) in RC2_ecb_encrypt() argument
37 if (encrypt) in RC2_ecb_encrypt()
/netbsd-src/crypto/external/bsd/openssl/dist/crypto/rc5/
H A Drc5_ecb.c21 RC5_32_KEY *ks, int encrypt) in RC5_32_ecb_encrypt() argument
29 if (encrypt) in RC5_32_ecb_encrypt()
/netbsd-src/crypto/external/bsd/openssl.old/dist/crypto/bf/
H A Dbf_ecb.c26 const BF_KEY *key, int encrypt) in BF_ecb_encrypt() argument
34 if (encrypt) in BF_ecb_encrypt()
/netbsd-src/sys/crypto/blowfish/
H A Dbf_ecb.c75 const BF_KEY *key, int encrypt) in BF_ecb_encrypt() argument
81 if (encrypt) in BF_ecb_encrypt()
/netbsd-src/crypto/external/bsd/openssl/dist/crypto/bf/
H A Dbf_ecb.c32 const BF_KEY *key, int encrypt) in BF_ecb_encrypt() argument
40 if (encrypt) in BF_ecb_encrypt()

12345678910>>...12