Home
last modified time | relevance | path

Searched refs:plaintext (Results 1 – 25 of 48) sorted by relevance

12

/freebsd-13.1/sys/contrib/openzfs/module/icp/io/
H A Daes.c528 ASSERT(plaintext != NULL); in aes_decrypt()
576 plaintext->cd_offset = plaintext->cd_length; in aes_decrypt()
577 plaintext->cd_length = saved_length - plaintext->cd_length; in aes_decrypt()
584 plaintext->cd_length = in aes_decrypt()
594 plaintext->cd_offset = plaintext->cd_length; in aes_decrypt()
595 plaintext->cd_length = saved_length - plaintext->cd_length; in aes_decrypt()
601 plaintext->cd_length = in aes_decrypt()
761 plaintext->cd_length = in aes_decrypt_update()
1166 plaintext->cd_length = in aes_decrypt_atomic()
1179 plaintext->cd_length = in aes_decrypt_atomic()
[all …]
/freebsd-13.1/sys/contrib/openzfs/module/icp/api/
H A Dkcf_cipher.c335 plaintext, ciphertext, tmpl); in crypto_encrypt_prov()
365 plaintext->cd_length)) == NULL) { in crypto_encrypt()
617 ciphertext, plaintext, tmpl); in crypto_decrypt_prov()
753 crypto_data_t *plaintext, crypto_call_req_t *cr) in crypto_decrypt_update() argument
772 plaintext, NULL); in crypto_decrypt_update()
831 error = KCF_PROV_DECRYPT_FINAL(pd, ctx, plaintext, in crypto_decrypt_final()
866 error = KCF_PROV_ENCRYPT(pd, ctx, plaintext, in crypto_encrypt_single()
871 NULL, NULL, plaintext, ciphertext, NULL); in crypto_encrypt_single()
885 crypto_data_t *plaintext, crypto_call_req_t *cr) in crypto_decrypt_single() argument
902 plaintext, NULL); in crypto_decrypt_single()
[all …]
/freebsd-13.1/crypto/openssl/crypto/camellia/
H A Dcmll_local.h33 void Camellia_EncryptBlock_Rounds(int grandRounds, const u8 plaintext[],
38 u8 plaintext[]);
39 void Camellia_EncryptBlock(int keyBitLength, const u8 plaintext[],
42 const KEY_TABLE_TYPE keyTable, u8 plaintext[]);
H A Dcamellia.c404 s0 = GETU32(plaintext) ^ k[0]; in Camellia_EncryptBlock_Rounds()
405 s1 = GETU32(plaintext + 4) ^ k[1]; in Camellia_EncryptBlock_Rounds()
406 s2 = GETU32(plaintext + 8) ^ k[2]; in Camellia_EncryptBlock_Rounds()
407 s3 = GETU32(plaintext + 12) ^ k[3]; in Camellia_EncryptBlock_Rounds()
443 void Camellia_EncryptBlock(int keyBitLength, const u8 plaintext[], in Camellia_EncryptBlock() argument
447 plaintext, keyTable, ciphertext); in Camellia_EncryptBlock()
452 u8 plaintext[]) in Camellia_DecryptBlock_Rounds() argument
490 PUTU32(plaintext, s2); in Camellia_DecryptBlock_Rounds()
491 PUTU32(plaintext + 4, s3); in Camellia_DecryptBlock_Rounds()
492 PUTU32(plaintext + 8, s0); in Camellia_DecryptBlock_Rounds()
[all …]
/freebsd-13.1/sys/contrib/openzfs/module/icp/include/sys/crypto/
H A Dimpl.h674 plaintext, req) : \
853 plaintext, req) ( \ argument
869 plaintext, req) ( \ argument
893 ctx, plaintext, ciphertext, mac, req) : \
900 ctx, plaintext, ciphertext, req) : \
911 mac_mech, mac_key, plaintext, ciphertext, mac, \ argument
917 mac_mech, mac_key, plaintext, ciphertext, mac, \
934 ctx, ciphertext, mac, plaintext, req) : \
941 ctx, ciphertext, plaintext, req) : \
948 ctx, mac, plaintext, req) : \
[all …]
/freebsd-13.1/tools/regression/net80211/tkip/
H A Dtest_tkip.c133 const u_int8_t *plaintext; member
221 memcpy(mtod(m, void *), t->plaintext, len); in runtest()
239 t->plaintext, t->plaintext_len); in runtest()
242 if (memcmp(mtod(m, const void *), t->plaintext, t->plaintext_len)) { in runtest()
245 t->plaintext, t->plaintext_len); in runtest()
278 dumpdata("Plaintext", t->plaintext, t->plaintext_len); in runtest()
301 t->plaintext, t->plaintext_len); in runtest()
311 t->plaintext, t->plaintext_len); in runtest()
314 if (memcmp(mtod(m, const void *), t->plaintext, t->plaintext_len)) { in runtest()
317 t->plaintext, t->plaintext_len); in runtest()
/freebsd-13.1/contrib/libfido2/tools/
H A Dlargeblob.c305 decompress(const struct blob *plaintext, uint64_t origsiz) in decompress() argument
313 if (plaintext->len > ULONG_MAX) in decompress()
317 plen = (u_long)plaintext->len; in decompress()
340 struct blob plaintext; in decode() local
344 memset(&plaintext, 0, sizeof(plaintext)); in decode()
356 plaintext.len = ciphertext->len - 16; in decode()
357 if ((plaintext.ptr = calloc(1, plaintext.len)) == NULL) in decode()
374 EVP_Cipher(ctx, plaintext.ptr, ciphertext->ptr, in decode()
375 (u_int)plaintext.len) < 0 || in decode()
378 if (decompress(&plaintext, origsiz) < 0) in decode()
[all …]
/freebsd-13.1/crypto/openssl/doc/man7/
H A Ddes_modes.pod31 The same plaintext block always produces the same ciphertext block
55 plaintext is encrypted using the same key and starting variable.
65 The use of different starting variables prevents the same plaintext
87 plaintext is encrypted using the same key and starting variable.
97 The use of different starting variables prevents the same plaintext
108 the encipherment algorithm per unit of plaintext and thus cause
134 plaintext enciphered using the same key and starting variable. More
146 plaintext enciphering to the same ciphertext, by producing different
152 the encipherment algorithm per unit of plaintext and thus cause
163 only one bit to be in error in the deciphered plaintext.
[all …]
/freebsd-13.1/tools/regression/net80211/ccmp/
H A Dtest_ccmp.c540 const u_int8_t *plaintext; member
631 memcpy(mtod(m, void *), t->plaintext, t->plaintext_len); in runtest()
658 dumpdata("Plaintext", t->plaintext, t->plaintext_len); in runtest()
669 t->plaintext, t->plaintext_len); in runtest()
679 t->plaintext, t->plaintext_len); in runtest()
681 } else if (memcmp(mtod(m, const void *), t->plaintext, t->plaintext_len)) { in runtest()
685 t->plaintext, t->plaintext_len); in runtest()
/freebsd-13.1/contrib/llvm-project/lld/docs/
H A Dpartitions.dot2 part_main [label="Main partition",shape=plaintext];
3 part1 [label="Loadable partition 1",shape=plaintext];
4 part2 [label="Loadable partition 2",shape=plaintext];
/freebsd-13.1/tools/regression/net80211/wep/
H A Dtest_wep.c145 const u_int8_t *plaintext; member
233 t->plaintext, t->plaintext_len); in runtest()
242 t->plaintext, t->plaintext_len); in runtest()
244 } else if (memcmp(mtod(m, const void *), t->plaintext, t->plaintext_len)) { in runtest()
247 t->plaintext, t->plaintext_len); in runtest()
274 dumpdata("Plaintext", t->plaintext, t->plaintext_len); in runtest()
/freebsd-13.1/contrib/libfido2/src/
H A Dlargeblob.c66 fido_blob_t *plaintext = NULL, *aad = NULL; in largeblob_decrypt() local
69 if ((plaintext = fido_blob_new()) == NULL || in largeblob_decrypt()
79 plaintext) < 0) { in largeblob_decrypt()
89 fido_blob_free(&plaintext); in largeblob_decrypt()
91 return plaintext; in largeblob_decrypt()
120 fido_blob_t *plaintext = NULL, *aad = NULL; in largeblob_seal() local
123 if ((plaintext = fido_blob_new()) == NULL || in largeblob_seal()
149 fido_blob_free(&plaintext); in largeblob_seal()
350 fido_blob_t *plaintext = NULL; in largeblob_array_lookup() local
370 if (plaintext == NULL) { in largeblob_array_lookup()
[all …]
/freebsd-13.1/sys/crypto/camellia/
H A Dcamellia.h51 const unsigned char *plaintext,
58 unsigned char *plaintext);
H A Dcamellia.c1272 const unsigned char *plaintext, in Camellia_EncryptBlock() argument
1278 tmp[0] = GETU32(plaintext); in Camellia_EncryptBlock()
1279 tmp[1] = GETU32(plaintext + 4); in Camellia_EncryptBlock()
1280 tmp[2] = GETU32(plaintext + 8); in Camellia_EncryptBlock()
1281 tmp[3] = GETU32(plaintext + 12); in Camellia_EncryptBlock()
1306 unsigned char *plaintext) in Camellia_DecryptBlock() argument
1328 PUTU32(plaintext, tmp[0]); in Camellia_DecryptBlock()
1329 PUTU32(plaintext+4, tmp[1]); in Camellia_DecryptBlock()
1330 PUTU32(plaintext+8, tmp[2]); in Camellia_DecryptBlock()
1331 PUTU32(plaintext+12, tmp[3]); in Camellia_DecryptBlock()
/freebsd-13.1/contrib/subversion/subversion/libsvn_subr/
H A Dcrypto.h79 const char *plaintext,
89 svn_crypto__decrypt_password(const char **plaintext,
H A Dcrypto.c391 svn_crypto__decrypt_password(const char **plaintext, in svn_crypto__decrypt_password() argument
470 *plaintext = apr_pstrndup(result_pool, in svn_crypto__decrypt_password()
/freebsd-13.1/crypto/openssl/doc/man3/
H A DRSA_public_encrypt.pod57 plaintext and the public key are exactly identical.
63 private key B<rsa> and stores the plaintext in B<to>. B<flen> should
78 recovered plaintext. A return value of 0 is not an error and
79 means only that the plaintext was empty.
H A DRSA_padding_add_PKCS1_type_1.pod134 plaintext and additionally some application specific consistency
135 checks on the plaintext need to be performed in constant time.
136 If the plaintext is rejected it must be kept secret which of the
/freebsd-13.1/sys/contrib/openzfs/include/sys/crypto/
H A Dapi.h171 extern int crypto_encrypt(crypto_mechanism_t *mech, crypto_data_t *plaintext,
183 crypto_data_t *plaintext, crypto_data_t *ciphertext,
192 crypto_key_t *key, crypto_ctx_template_t tmpl, crypto_data_t *plaintext,
204 crypto_data_t *ciphertext, crypto_data_t *plaintext,
206 extern int crypto_decrypt_final(crypto_context_t ctx, crypto_data_t *plaintext,
/freebsd-13.1/tests/sys/kern/
H A Dktls_test.c846 char *plaintext, *decrypted, *outbuf; in test_ktls_transmit_app_data() local
852 plaintext = alloc_buffer(len); in test_ktls_transmit_app_data()
881 rv = write(ev.ident, plaintext + written, in test_ktls_transmit_app_data()
946 free(plaintext); in test_ktls_transmit_app_data()
984 char *plaintext, *decrypted, *outbuf; in test_ktls_transmit_control() local
992 plaintext = alloc_buffer(len); in test_ktls_transmit_control()
1032 free(plaintext); in test_ktls_transmit_control()
1145 char *plaintext, *received, *outbuf; in test_ktls_receive_app_data() local
1150 plaintext = alloc_buffer(len); in test_ktls_receive_app_data()
1186 TLS_RLTYPE_APP, seqno, plaintext + written, in test_ktls_receive_app_data()
[all …]
/freebsd-13.1/contrib/wpa/src/crypto/
H A Dcrypto_module_tests.c38 u8 plaintext[] = { in test_siv() local
96 if (aes_siv_encrypt(key, sizeof(key), plaintext, sizeof(plaintext), in test_siv()
112 if (os_memcmp(out, plaintext, sizeof(plaintext)) != 0) { in test_siv()
422 char *plaintext; in test_ecb() member
481 hexstr2bin(tv->plaintext, plain, sizeof(plain)) || in test_ecb()
/freebsd-13.1/crypto/openssh/
H A Dcipher.c59 int plaintext; member
201 return cc->plaintext; in cipher_ctx_is_plaintext()
263 cc->plaintext = (cipher->flags & CFLAG_NONE) != 0; in cipher_init()
/freebsd-13.1/contrib/wpa/hostapd/
H A Dhostapd.eap_user8 # that the plaintext password does not need to be included in the user file.
49 # plaintext password while TTLS-MSCHAP and TTLS-MSCHAPV2 can use NT password
/freebsd-13.1/share/dict/
H A Dfreebsd259 plaintext
/freebsd-13.1/contrib/subversion/
H A Dconfigure.ac845 dnl plaintext passwords -------------------
846 AC_ARG_ENABLE(plaintext-password-storage,
847 AS_HELP_STRING([--enable-plaintext-password-storage],
848 [Enable on-disk caching of plaintext passwords and passphrases.
850 to store passwords in plaintext, but does permit users to
856 AC_MSG_WARN([Enabling plaintext password/passphrase storage])
858 AC_MSG_NOTICE([Disabling plaintext password/passphrase storage])
860 [Defined if plaintext password/passphrase storage is disabled])

12