Searched defs:blocksize (Results 1 - 4 of 4) sorted by relevance

/vbox/src/VBox/Devices/PC/ipxe/src/crypto/
H A Dcbc.c63 size_t blocksize = raw_cipher->blocksize; local
65 assert ( ( len % blocksize ) == 0 );
68 cbc_xor ( src, cbc_ctx, blocksize );
69 cipher_encrypt ( raw_cipher, ctx, cbc_ctx, dst, blocksize );
70 memcpy ( cbc_ctx, dst, blocksize );
71 dst += blocksize;
72 src += blocksize;
73 len -= blocksize;
89 size_t blocksize local
[all...]
/vbox/src/VBox/Devices/PC/ipxe/src/include/ipxe/
H A Dcrypto.h22 size_t blocksize; member in struct:digest_algorithm
36 * @v len is not necessarily a multiple of @c blocksize.
54 size_t blocksize; member in struct:cipher_algorithm
76 * @v len is guaranteed to be a multiple of @c blocksize.
87 * @v len is guaranteed to be a multiple of @c blocksize.
193 assert ( ( (len) & ( (cipher)->blocksize - 1 ) ) == 0 ); \
203 assert ( ( (len) & ( (cipher)->blocksize - 1 ) ) == 0 ); \
208 return ( cipher->blocksize == 1 );
/vbox/src/libs/liblzf-3.4/
H A Dlzf.c64 static long blocksize = BLOCKSIZE; variable
75 {"blocksize", 1, 0, 'b'},
83 "-h --help give this help\n" "-v --verbose verbose mode\n" "-b # --blocksize # set blocksize\n" "\n";
93 "-b # set blocksize\n"
185 while ((us = rread (from, &buf1[MAX_HDR_SIZE], blocksize)) > 0)
459 blocksize = strtoul (p, 0, 0);
460 if (errno || !blocksize || blocksize > MAX_BLOCKSIZE)
461 blocksize
[all...]
/vbox/src/VBox/Devices/PC/ipxe/src/net/
H A Dtls.c158 .blocksize = 0, /* Not applicable */
452 size_t iv_size = tx_cipherspec->suite->cipher->blocksize;
1690 size_t blocksize = tls->tx_cipherspec.suite->cipher->blocksize; local
1701 iv_len = ( ( tls->version >= TLS_VERSION_TLS_1_1 ) ? blocksize : 0 );
1704 padding_len = ( ( blocksize - 1 ) & -( iv_len + len + mac_len + 1 ) );
1890 tls->rx_cipherspec.suite->cipher->blocksize : 0 );

Completed in 83 milliseconds