Searched refs:plaintext_len (Results 1 - 6 of 6) sorted by relevance

/vbox/src/VBox/Devices/PC/ipxe/src/tests/
H A Dpubkey_test.h51 * @v plaintext_len Plaintext length
55 plaintext_len ) do { \
67 (plaintext_len), \
73 (plaintext_len) ); \
86 * @v plaintext_len Plaintext length
91 plaintext_len, expected, expected_len ) do { \
98 (plaintext_len) ); \
124 * @v plaintext_len Plaintext length
129 plaintext_len, signature, signature_len ) do {\
136 (plaintext_len) ); \
[all...]
H A Daes_cbc_test.c66 size_t plaintext_len; member in struct:aes_cbc_test
95 .plaintext_len = sizeof ( name ## _plaintext ), \
110 assert ( (test)->plaintext_len == (test)->ciphertext_len ); \
113 (test)->ciphertext, (test)->plaintext_len ); \
H A Drsa_test.c68 size_t plaintext_len; member in struct:rsa_encrypt_decrypt_test
102 .plaintext_len = sizeof ( name ## _plaintext ), \
120 size_t plaintext_len; member in struct:rsa_signature_test
152 .plaintext_len = sizeof ( name ## _plaintext ), \
167 (test)->plaintext_len ); \
171 (test)->plaintext_len ); \
175 (test)->plaintext_len ); \
188 (test)->plaintext, (test)->plaintext_len, \
192 (test)->plaintext, (test)->plaintext_len, \
198 (test)->plaintext_len, bad_signatur
[all...]
/vbox/src/VBox/Devices/PC/ipxe/src/crypto/
H A Drsa.c364 * @v plaintext_len Length of plaintext
369 size_t plaintext_len, void *ciphertext ) {
374 size_t random_nz_len = ( max_len - plaintext_len + 8 );
378 if ( plaintext_len > max_len ) {
380 "%zd)\n", context, plaintext_len, max_len );
384 DBGC_HDA ( context, 0, plaintext, plaintext_len );
399 memcpy ( &encoded[ context->max_len - plaintext_len ],
400 plaintext, plaintext_len );
417 * @ret plaintext_len Plaintext length, or negative error
427 size_t plaintext_len; local
368 rsa_encrypt( void *ctx, const void *plaintext, size_t plaintext_len, void *ciphertext ) argument
[all...]
H A Dcrypto_null.c95 size_t plaintext_len __unused,
/vbox/src/VBox/Devices/PC/ipxe/src/net/
H A Dtls.c1649 * @ret plaintext_len Length of plaintext record
1654 void *digest, size_t *plaintext_len ) {
1661 *plaintext_len = ( len + mac_len );
1664 plaintext = malloc ( *plaintext_len );
1684 * @ret plaintext_len Length of plaintext record
1689 void *digest, size_t *plaintext_len ) {
1705 *plaintext_len = ( iv_len + len + mac_len + padding_len + 1 );
1708 plaintext = malloc ( *plaintext_len );
1741 size_t plaintext_len; local
1760 &plaintext_len );
1829 tls_split_stream( struct tls_session *tls, void *plaintext, size_t plaintext_len, void **data, size_t *len, void **digest ) argument
1867 tls_split_block( struct tls_session *tls, void *plaintext, size_t plaintext_len, void **data, size_t *len, void **digest ) argument
[all...]

Completed in 934 milliseconds