Searched refs:ciphertext (Results 1 - 8 of 8) sorted by relevance
/vbox/src/VBox/Devices/PC/ipxe/src/tests/ |
H A D | cbc_test.c | 44 * @v expected_ciphertext Expected ciphertext data 52 uint8_t ciphertext[ len ]; local 61 cipher_encrypt ( cipher, ctx, plaintext, ciphertext, len ); 64 return ( memcmp ( ciphertext, expected_ciphertext, len ) == 0 ); 74 * @v ciphertext Ciphertext data 80 size_t key_len, const void *iv, const void *ciphertext, 92 cipher_decrypt ( cipher, ctx, ciphertext, plaintext, len ); 79 cbc_test_decrypt( struct cipher_algorithm *cipher, const void *key, size_t key_len, const void *iv, const void *ciphertext, const void *expected_plaintext, size_t len ) argument
|
H A D | cbc_test.h | 16 const void *ciphertext, 27 * @v expected_ciphertext Expected ciphertext data 43 * @v ciphertext Ciphertext data 47 #define cbc_decrypt_ok( cipher, key, key_len, iv, ciphertext, \ 49 ok ( cbc_test_decrypt ( cipher, key, key_len, iv, ciphertext, \
|
H A D | aes_cbc_test.c | 50 /** Define inline ciphertext data */ 68 const void *ciphertext; member in struct:aes_cbc_test 69 /** Length of ciphertext */ 96 .ciphertext = name ## _ciphertext, \ 113 (test)->ciphertext, (test)->plaintext_len ); \ 115 (test)->iv, (test)->ciphertext, \
|
H A D | pubkey_test.h | 16 * @v ciphertext Ciphertext 21 #define pubkey_decrypt_ok( pubkey, key, key_len, ciphertext, \ 32 (ciphertext), \
|
H A D | rsa_test.c | 49 /** Define inline ciphertext data */ 75 const void *ciphertext; member in struct:rsa_encrypt_decrypt_test 103 .ciphertext = name ## _ciphertext, \ 165 (test)->private_len, (test)->ciphertext, \
|
/vbox/src/VBox/Devices/PC/ipxe/src/crypto/ |
H A D | crypto_null.c | 96 void *ciphertext __unused ) { 101 const void *ciphertext __unused,
|
H A D | rsa.c | 365 * @v ciphertext Ciphertext 366 * @ret ciphertext_len Length of ciphertext, or negative error 369 size_t plaintext_len, void *ciphertext ) { 403 rsa_cipher ( context, encoded, ciphertext ); 405 DBGC_HDA ( context, 0, ciphertext, context->max_len ); 414 * @v ciphertext Ciphertext 419 static int rsa_decrypt ( void *ctx, const void *ciphertext, argument 431 DBGC ( context, "RSA %p ciphertext incorrect length (%zd " 437 DBGC_HDA ( context, 0, ciphertext, ciphertext_len ); 444 rsa_cipher ( context, ciphertext, encode [all...] |
/vbox/src/VBox/Devices/PC/ipxe/src/net/ |
H A D | tls.c | 1742 struct io_buffer *ciphertext = NULL; local 1775 /* Allocate ciphertext */ 1777 ciphertext = xfer_alloc_iob ( &tls->cipherstream, ciphertext_len ); 1778 if ( ! ciphertext ) { 1780 "ciphertext\n", tls, ciphertext_len ); 1785 /* Assemble ciphertext */ 1786 tlshdr = iob_put ( ciphertext, sizeof ( *tlshdr ) ); 1793 iob_put ( ciphertext, plaintext_len ), plaintext_len ); 1799 /* Send ciphertext */ 1801 iob_disown ( ciphertext ) ) ) ! [all...] |
Completed in 229 milliseconds