Searched refs:iv (Results 1 - 25 of 38) sorted by relevance

12

/vbox/src/VBox/Devices/PC/ipxe/src/tests/
H A Dcbc_test.h11 size_t key_len, const void *iv,
15 size_t key_len, const void *iv,
25 * @v iv Initialisation vector
30 #define cbc_encrypt_ok( cipher, key, key_len, iv, plaintext, \
32 ok ( cbc_test_encrypt ( cipher, key, key_len, iv, plaintext, \
42 * @v iv Initialisation vector
47 #define cbc_decrypt_ok( cipher, key, key_len, iv, ciphertext, \
49 ok ( cbc_test_decrypt ( cipher, key, key_len, iv, ciphertext, \
H A Dcbc_test.c42 * @v iv Initialisation vector
49 size_t key_len, const void *iv, const void *plaintext,
58 cipher_setiv ( cipher, ctx, iv );
73 * @v iv Initialisation vector
80 size_t key_len, const void *iv, const void *ciphertext,
89 cipher_setiv ( cipher, ctx, iv );
48 cbc_test_encrypt( struct cipher_algorithm *cipher, const void *key, size_t key_len, const void *iv, const void *plaintext, const void *expected_ciphertext, size_t len ) argument
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 Daes_cbc_test.c60 const void *iv; member in struct:aes_cbc_test
92 .iv = name ## _iv, \
112 (test)->iv, (test)->plaintext, \
115 (test)->iv, (test)->ciphertext, \
/vbox/src/VBox/Devices/PC/ipxe/src/crypto/
H A Daxtls_aes.c47 void *iv; local
63 iv = &aes_ctx->axtls_ctx.iv;
65 AES_set_key ( &aes_ctx->axtls_ctx, key, iv, mode );
76 * @v iv Initialisation vector
78 static void aes_setiv ( void *ctx __unused, const void *iv __unused ) {
H A Darc4.c98 static void arc4_setiv ( void *ctx __unused, const void *iv __unused )
H A Dcrypto_null.c60 const void *iv __unused ) {
/vbox/src/VBox/Devices/PC/ipxe/src/include/ipxe/
H A Dcbc.h35 * @v iv Initialisation vector
39 static inline void cbc_setiv ( void *ctx __unused, const void *iv, argument
42 memcpy ( cbc_ctx, iv, raw_cipher->blocksize );
73 static void _cbc_name ## _setiv ( void *ctx, const void *iv ) { \
75 cbc_setiv ( &_cbc_name ## _ctx->raw_ctx, iv, \
H A Dcrypto.h66 * @v iv Initialisation vector
68 void ( * setiv ) ( void *ctx, const void *iv );
183 void *ctx, const void *iv ) {
184 cipher->setiv ( ctx, iv );
H A Dwpa.h138 u8 iv[16]; member in struct:eapol_key_pkt
393 * @v iv Initialisation vector for encryption, 16 bytes
402 int ( * decrypt ) ( const void *kek, const void *iv, void *msg,
/vbox/src/VBox/Devices/PC/ipxe/src/net/80211/
H A Dwep.c126 u32 iv, icv; local
138 iv = random() & 0xffffff; /* IV in bottom 3 bytes, top byte = KID = 0 */
139 memcpy ( iob_put ( eiob, WEP_HEADER_LEN ), &iv, WEP_HEADER_LEN ); local
140 memcpy ( ctx->key, &iv, WEP_IV_LEN );
175 u32 iv, icv, crc; local
186 memcpy ( &iv, eiob->data + hdrlen, 4 );
187 iv &= 0xffffff; /* ignore key ID byte */
188 memcpy ( ctx->key, &iv, WEP_IV_LEN );
/vbox/src/VBox/Devices/PC/ipxe/src/crypto/axtls/
H A Daes.c176 * Set up AES with the key/iv and cipher size.
179 const uint8_t *iv, AES_MODE mode)
246 /* copy the iv across */
247 memcpy(ctx->iv, iv, 16);
275 uint32_t tin[4], tout[4], iv[4]; local
277 memcpy(iv, ctx->iv, AES_IV_SIZE);
279 tout[i] = ntohl(iv[i]);
304 iv[
178 AES_set_key(AES_CTX *ctx, const uint8_t *key, const uint8_t *iv, AES_MODE mode) argument
314 uint32_t tin[4], xor[4], tout[4], data[4], iv[4]; local
[all...]
H A Dcrypto.h75 uint8_t iv[AES_IV_SIZE]; member in struct:aes_key_st
85 const uint8_t *iv, AES_MODE mode);
/vbox/src/VBox/Frontends/VirtualBox/src/platform/darwin/
H A DVBoxUtils-darwin-cocoa.mm126 NSImageView *iv = [[NSImageView alloc] initWithFrame:NSMakeRect(s1.width - s.width - (fCenter ? 10 : 0),
130 [iv setImage:pImage];
131 [iv setAutoresizesSubviews:true];
132 [iv setAutoresizingMask:NSViewMinXMargin | NSViewMinYMargin];
134 [wv addSubview:iv positioned:NSWindowBelow relativeTo:nil];
/vbox/src/VBox/Additions/x11/x11include/xorg-server-1.16.0/
H A Ddebug.h199 extern void x86emu_print_int_vect(u16 iv);
/vbox/src/VBox/Additions/x11/x11include/xorg-server-1.17.1/
H A Ddebug.h199 extern void x86emu_print_int_vect(u16 iv);
/vbox/src/VBox/Additions/x11/x11include/xorg-server-1.3.0.0/
H A Ddebug.h199 extern void x86emu_print_int_vect (u16 iv);
/vbox/src/VBox/Additions/x11/x11include/xorg-server-1.4.2/
H A Ddebug.h199 extern void x86emu_print_int_vect (u16 iv);
/vbox/src/VBox/Additions/x11/x11include/xorg-server-1.5.3/
H A Ddebug.h199 extern void x86emu_print_int_vect (u16 iv);
/vbox/src/VBox/Additions/x11/x11include/xorg-server-1.6.5/
H A Ddebug.h199 extern void x86emu_print_int_vect (u16 iv);
/vbox/src/VBox/Additions/x11/x11include/xorg-server-1.7.7/
H A Ddebug.h199 extern void x86emu_print_int_vect (u16 iv);
/vbox/src/VBox/Additions/x11/x11include/xorg-server-1.8.0/
H A Ddebug.h199 extern void x86emu_print_int_vect (u16 iv);
/vbox/src/VBox/Additions/x11/x11include/xorg-server-1.9.0/
H A Ddebug.h199 extern void x86emu_print_int_vect (u16 iv);
/vbox/src/VBox/Additions/x11/x11include/xorg-server-1.10.0/
H A Ddebug.h199 extern void x86emu_print_int_vect (u16 iv);
/vbox/src/VBox/Additions/x11/x11include/xorg-server-1.11.0/
H A Ddebug.h199 extern void x86emu_print_int_vect (u16 iv);
/vbox/src/VBox/Additions/x11/x11include/xorg-server-1.12.0/
H A Ddebug.h199 extern void x86emu_print_int_vect (u16 iv);

Completed in 103 milliseconds

12