Home
last modified time | relevance | path

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

12

/openbsd-src/regress/lib/libcrypto/ige/
H A Digetest.c182 unsigned char plaintext[BIG_TEST_SIZE]; in main() local
194 arc4random_buf(plaintext, sizeof(plaintext)); in main()
202 AES_ige_encrypt(plaintext, ciphertext, TEST_SIZE, &key, iv, in main()
210 if(memcmp(checktext, plaintext, TEST_SIZE)) in main()
213 hexdump(stdout, "Plaintext", plaintext, TEST_SIZE); in main()
221 AES_ige_encrypt(plaintext, ciphertext, TEST_SIZE/2, &key, iv, in main()
223 AES_ige_encrypt(plaintext+TEST_SIZE/2, in main()
232 if(memcmp(checktext, plaintext, TEST_SIZE)) in main()
235 hexdump(stdout, "Plaintext", plaintext, TEST_SIZE); in main()
243 AES_ige_encrypt(plaintext, ciphertext, TEST_SIZE/2, &key, iv, in main()
[all …]
/openbsd-src/regress/lib/libcrypto/evp/
H A Devptest.c135 const unsigned char *iv, int in, const unsigned char *plaintext, int pn, in test1() argument
149 hexdump(stdout, "Plaintext",plaintext,pn); in test1()
175 if (!EVP_EncryptUpdate(ctx, out, &outl, plaintext, pn)) { in test1()
228 if (memcmp(out, plaintext, pn)) { in test1()
231 hexdump(stderr, "Expected",plaintext,pn); in test1()
244 const unsigned char *iv, int in, const unsigned char *plaintext, int pn, in test_cipher() argument
253 test1(c, key, kn, iv, in, plaintext, pn, ciphertext, cn, encdec); in test_cipher()
259 test_digest(const char *digest, const unsigned char *plaintext, int pn, in test_digest() argument
273 hexdump(stdout, "Plaintext",plaintext,pn); in test_digest()
287 if (!EVP_DigestUpdate(ctx, plaintext, pn)) { in test_digest()
[all …]
H A Devptests.txt2 #cipher:key:iv:plaintext:ciphertext:0/1(decrypt/encrypt)
76 # AES-bits-ECB:key::plaintext:ciphertext:encdec
93 # AES-bits-CBC:key:IV/ciphertext':plaintext:ciphertext:encdec
111 # AES-bits-CFB:key:IV/ciphertext':plaintext:ciphertext:encdec
143 # AES-bits-CFB:key:IV/output':plaintext:ciphertext:encdec
222 # CAMELLIA-bits-ECB:key::plaintext:ciphertext:encdec
251 # CAMELLIA-bits-CBC:key:IV/ciphertext':plaintext:ciphertext:encdec
272 # CAMELLIA-bits-CFB:key:IV/ciphertext':plaintext:ciphertext:encdec
310 # CAMELLIA-bits-OFB:key:IV/output':plaintext:ciphertext:encdec
/openbsd-src/regress/sys/crypto/aes/
H A Daestest.c142 u_char *plaintext, u_char *ciphertext, u_int textlen) in do_tests() argument
148 if (docrypt(key, keylen, plaintext, result, textlen, 1) < 0) { in do_tests()
160 } else if (!match(result, plaintext, textlen)) { in do_tests()
175 u_char *key, *plaintext, *ciphertext; in run_file() local
183 key = ciphertext = plaintext = NULL; in run_file()
212 if (plaintext != NULL) in run_file()
213 free(plaintext); in run_file()
214 parsehex(cp, &plaintext, &tmp); in run_file()
247 if (plaintext == NULL || ciphertext == NULL || in run_file()
256 plaintext, ciphertext, textlen); in run_file()
/openbsd-src/lib/libcrypto/camellia/
H A Dcamellia.c98 void Camellia_EncryptBlock_Rounds(int grandRounds, const u8 plaintext[],
101 const KEY_TABLE_TYPE keyTable, u8 plaintext[]);
102 void Camellia_EncryptBlock(int keyBitLength, const u8 plaintext[],
105 const KEY_TABLE_TYPE keyTable, u8 plaintext[]);
480 Camellia_EncryptBlock_Rounds(int grandRounds, const u8 plaintext[], in Camellia_EncryptBlock_Rounds() argument
486 s0 = GETU32(plaintext) ^ k[0]; in Camellia_EncryptBlock_Rounds()
487 s1 = GETU32(plaintext + 4) ^ k[1]; in Camellia_EncryptBlock_Rounds()
488 s2 = GETU32(plaintext + 8) ^ k[2]; in Camellia_EncryptBlock_Rounds()
489 s3 = GETU32(plaintext + 12) ^ k[3]; in Camellia_EncryptBlock_Rounds()
524 Camellia_EncryptBlock(int keyBitLength, const u8 plaintext[], in Camellia_EncryptBlock() argument
[all …]
/openbsd-src/gnu/llvm/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];
/openbsd-src/lib/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()
128 if (fido_compress(plaintext, body) != FIDO_OK) { in largeblob_seal()
140 if (aes256_gcm_enc(key, &blob->nonce, aad, plaintext, in largeblob_seal()
149 fido_blob_free(&plaintext); in largeblob_seal()
[all …]
/openbsd-src/regress/lib/libcrypto/sm2/
H A Dsm2evptest.c123 uint8_t plaintext[8]; in test_EVP_SM2() local
124 size_t ptext_len = sizeof(plaintext); in test_EVP_SM2()
218 CHECK_GOTO(EVP_PKEY_decrypt(cctx, plaintext, &ptext_len, ciphertext, ctext_len)); in test_EVP_SM2()
222 CHECK_GOTO(memcmp(plaintext, kMsg, sizeof(kMsg)) == 0); in test_EVP_SM2()
/openbsd-src/regress/sys/crypto/aesxts/
H A Daes_xts.c55 u_int8_t plaintext[512]; member
1787 if (do_aes_xts(tv->key, tv->key_len, tv->seqno, tv->plaintext, in main()
1806 if (!match(result, tv->plaintext, tv->text_len)) { in main()
/openbsd-src/regress/lib/libcrypto/aead/
H A Daes_128_gcm_tests.txt485 # 48 bytes plaintext
493 # 80 bytes plaintext
501 # 128 bytes plaintext
509 # 192 bytes plaintext, iv is chosen so that initial counter LSB is 0xFF
517 # 288 bytes plaintext, iv is chosen so that initial counter LSB is 0xFF
525 # 80 bytes plaintext, submitted by Intel
/openbsd-src/usr.bin/ssh/
H A Dcipher.c55 int plaintext; member
193 return cc->plaintext; in cipher_ctx_is_plaintext()
255 cc->plaintext = (cipher->flags & CFLAG_NONE) != 0; in cipher_init()
H A DPROTOCOL.chacha20poly130569 counter to obtain the plaintext length.
H A DPROTOCOL60 plaintext. This ordering closes a security flaw in the SSH transport
63 session plaintext.
/openbsd-src/gnu/llvm/llvm/docs/
H A DREADME.txt5 plaintext markup language (file extension `.rst`). While the
/openbsd-src/gnu/usr.bin/binutils/gdb/
H A DCONTRIBUTE67 A ChangeLog entry as plaintext (separate from the patch); see
/openbsd-src/gnu/usr.bin/texinfo/
H A DNEWS74 . New option --plaintext, equivalent to --no-headers with Info output.
81 the exact line of an entry, not just a node. Also in plaintext output.
H A DChangeLog716 * doc.texinfo.txi (Invoking makeinfo): mention --plaintext.
1909 output is plaintext, or the index entry appears in the changed node.
2372 decreased the space between the columns of plaintext output.
2444 plaintext outputs.
2641 * makeinfo/makeinfo.c (main): new option --plaintext.
2642 (usage): added short forms of --html, --xml, --docbook and --plaintext
2673 quote characters in plaintext output.
2678 output format is plaintext.
/openbsd-src/gnu/usr.bin/perl/cpan/Pod-Simple/lib/Pod/Simple/
H A DSubclassing.pod1015 documents, and then makes a plaintext report of any errors found in the
1033 L<Pod::Simple::Text> -- a simple plaintext formatter for Pod
/openbsd-src/gnu/usr.bin/cvs/doc/
H A Dcvs.info-2439 if they supply their respective plaintext passwords.
492 network in plaintext. See *Note Password authentication security:: for
/openbsd-src/gnu/usr.bin/perl/ext/Pod-Html/corpus/
H A Dperlpodspec-copy.pod71 plaintext, TeX, PostScript, RTF). A B<Pod processor> might be a
670 any format other than plaintext), a Pod formatter must insert comment
/openbsd-src/gnu/usr.bin/perl/pod/
H A Dperlpodspec.pod67 plaintext, TeX, PostScript, RTF). A B<Pod processor> might be a
698 any format other than plaintext), a Pod formatter must insert comment
/openbsd-src/gnu/usr.bin/texinfo/po/
H A Dnb.po2288 " --plaintext output plain text rather than Info.\n"
2294 " --plaintext generere ren tekst i stedet for Info.\n"
H A Dde.po2381 " --plaintext output plain text rather than Info.\n"
2387 " --plaintext einfachen Text anstelle von Info ausgeben\n"
H A Dpl.po2273 " --plaintext output plain text rather than Info.\n"
2279 " --plaintext wyprodukowanie czystego tekstu zamiast Info.\n"
H A Dtr.po2269 " --plaintext output plain text rather than Info.\n"
2275 " --plaintext Info yerine salt metin ��kt�s� �retir.\n"

12