Home
last modified time | relevance | path

Searched refs:KEK (Results 1 – 25 of 523) sorted by relevance

12345678910>>...21

/dports/security/erlang-jose/erlang-jose-1.11.1/src/jwa/
H A Djose_jwa_aes_kw.erl26 wrap(PlainText, KEK) ->
29 wrap(PlainText, KEK, IV)
31 andalso (bit_size(KEK) =:= 128
32 orelse bit_size(KEK) =:= 192
38 unwrap(CipherText, KEK) ->
41 unwrap(CipherText, KEK, IV)
43 andalso (bit_size(KEK) =:= 128
44 orelse bit_size(KEK) =:= 192
63 do_wrap(do_wrap(Buffer, J, 1, BlockCount, KEK), J + 1, BlockCount, KEK).
73 << A1:?MSB64, B1/binary >> = jose_jwa:block_encrypt({aes_ecb, bit_size(KEK)}, KEK, Data),
[all …]
/dports/security/elixir-jose/erlang-jose-1.11.1/src/jwa/
H A Djose_jwa_aes_kw.erl26 wrap(PlainText, KEK) ->
29 wrap(PlainText, KEK, IV)
31 andalso (bit_size(KEK) =:= 128
32 orelse bit_size(KEK) =:= 192
38 unwrap(CipherText, KEK) ->
41 unwrap(CipherText, KEK, IV)
43 andalso (bit_size(KEK) =:= 128
44 orelse bit_size(KEK) =:= 192
63 do_wrap(do_wrap(Buffer, J, 1, BlockCount, KEK), J + 1, BlockCount, KEK).
73 << A1:?MSB64, B1/binary >> = jose_jwa:block_encrypt({aes_ecb, bit_size(KEK)}, KEK, Data),
[all …]
/dports/net/rabbitmq/rabbitmq-server-3.9.11/deps/jose/src/jwa/
H A Djose_jwa_aes_kw.erl26 wrap(PlainText, KEK) ->
29 wrap(PlainText, KEK, IV)
31 andalso (bit_size(KEK) =:= 128
32 orelse bit_size(KEK) =:= 192
38 unwrap(CipherText, KEK) ->
41 unwrap(CipherText, KEK, IV)
43 andalso (bit_size(KEK) =:= 128
44 orelse bit_size(KEK) =:= 192
63 do_wrap(do_wrap(Buffer, J, 1, BlockCount, KEK), J + 1, BlockCount, KEK).
73 << A1:?MSB64, B1/binary >> = jose_jwa:block_encrypt({aes_ecb, bit_size(KEK)}, KEK, Data),
[all …]
/dports/java/openjdk17/jdk17u-jdk-17.0.1-12-1/test/jdk/com/sun/crypto/provider/Cipher/KeyWrap/
H A DNISTWrapKAT.java44 private static final String KEK = field in NISTWrapKAT
107 { "AESWrap", KEK, 16, DATA, 16, KW_AES128_128 }, in testData()
108 { "AESWrap", KEK, 24, DATA, 16, KW_AES192_128 }, in testData()
109 { "AESWrap", KEK, 24, DATA, 24, KW_AES192_192 }, in testData()
110 { "AESWrap", KEK, 32, DATA, 16, KW_AES256_128 }, in testData()
111 { "AESWrap", KEK, 32, DATA, 24, KW_AES256_192 }, in testData()
112 { "AESWrap", KEK, 32, DATA, 32, KW_AES256_256 }, in testData()
113 { "AESWrap_128", KEK, 16, DATA, 16, KW_AES128_128 }, in testData()
122 { "AESWrapPad", KEK, 16, DATA, 7, KWP_AES128_56 }, in testData()
124 { "AESWrapPad", KEK, 24, DATA, 7, KWP_AES192_56 }, in testData()
[all …]
/dports/security/hashcat/hashcat-6.2.5/OpenCL/
H A Dm13200-pure.cl17 u32 KEK[4];
34 * KEK
45 u32 KEK[5];
47 KEK[0] = ctx.h[0];
48 KEK[1] = ctx.h[1];
49 KEK[2] = ctx.h[2];
50 KEK[3] = ctx.h[3];
54 tmps[gid].KEK[0] = KEK[0] ^ salt_bufs[SALT_POS].salt_buf[0];
55 tmps[gid].KEK[1] = KEK[1] ^ salt_bufs[SALT_POS].salt_buf[1];
56 tmps[gid].KEK[2] = KEK[2] ^ salt_bufs[SALT_POS].salt_buf[2];
[all …]
H A Dm23600-pure.cl33 u32 KEK[8];
355 u32 KEK[8];
357 KEK[0] = out[ 0] ^ out[ 8];
377 tmps[gid].KEK[0] = KEK[0] ^ salt[0];
378 tmps[gid].KEK[1] = KEK[1] ^ salt[1];
379 tmps[gid].KEK[2] = KEK[2] ^ salt[2];
380 tmps[gid].KEK[3] = KEK[3] ^ salt[3];
381 tmps[gid].KEK[4] = KEK[4] ^ salt[4];
382 tmps[gid].KEK[5] = KEK[5] ^ salt[5];
383 tmps[gid].KEK[6] = KEK[6] ^ salt[6];
[all …]
H A Dm23500-pure.cl33 u32 KEK[4];
355 u32 KEK[4];
357 KEK[0] = out[ 0] ^ out[ 4] ^ out[ 8] ^ out[12];
369 tmps[gid].KEK[0] = KEK[0] ^ salt[0];
370 tmps[gid].KEK[1] = KEK[1] ^ salt[1];
371 tmps[gid].KEK[2] = KEK[2] ^ salt[2];
372 tmps[gid].KEK[3] = KEK[3] ^ salt[3];
445 ukey[0] = tmps[gid].KEK[0];
446 ukey[1] = tmps[gid].KEK[1];
447 ukey[2] = tmps[gid].KEK[2];
[all …]
/dports/security/hashcat/hashcat-6.2.5/tools/test_modules/
H A Dm23500.pm36 my $KEK = $pbkdf2->PBKDF2 ($salt_kdf, $word);
40 $KEK = substr ($KEK, 0, 16) ^
41 substr ($KEK, 16, 16) ^
42 substr ($KEK, 32, 16) ^
43 substr ($KEK, 48, 16);
45 $KEK = $KEK ^ substr ($salt_wrap, 0, 16);
65 $block = $aes->decrypt ($block, $KEK);
92 $block = $aes->encrypt ($block, $KEK);
H A Dm18300.pm68 $B = $aes->decrypt ($B, $KEK);
77 $B = $aes->decrypt ($B, $KEK);
86 $B = $aes->decrypt ($B, $KEK);
95 $B = $aes->decrypt ($B, $KEK);
108 $B = $aes->encrypt ($B, $KEK);
117 $B = $aes->encrypt ($B, $KEK);
126 $B = $aes->encrypt ($B, $KEK);
162 $B = $aes->encrypt ($B, $KEK);
171 $B = $aes->encrypt ($B, $KEK);
180 $B = $aes->encrypt ($B, $KEK);
[all …]
H A Dm23600.pm36 my $KEK = $pbkdf2->PBKDF2 ($salt_kdf, $word);
40 $KEK = substr ($KEK, 0, 32) ^ substr ($KEK, 32, 32);
42 $KEK = $KEK ^ substr ($salt_wrap, 0, 32);
62 $block = $aes->decrypt ($block, $KEK);
89 $block = $aes->encrypt ($block, $KEK);
H A Dm13200.pm50 my $KEK = sha1 ($word);
52 $KEK = substr ($KEK ^ $mysalt, 0, 16);
78 $A = $aes->decrypt (substr ($A . $B . "\x00" x 16, 0, 16), $KEK);
86 $A = $aes->decrypt (substr ($A . $B . "\x00" x 16, 0, 16), $KEK);
112 $B = $aes->encrypt (substr ($A . $R[1] . "\x00" x 16, 0, 16), $KEK);
118 $B = $aes->encrypt (substr ($A . $R[2] . "\x00" x 16, 0, 16), $KEK);
H A Dm16200.pm33 my $KEK = $pbkdf2->PBKDF2 ($salt_bin, $word);
59 $B = $aes->decrypt ($B, $KEK);
68 $B = $aes->decrypt ($B, $KEK);
81 $B = $aes->encrypt ($B, $KEK);
90 $B = $aes->encrypt ($B, $KEK);
115 $B = $aes->encrypt ($B, $KEK);
124 $B = $aes->encrypt ($B, $KEK);
H A Dm16700.pm33 my $KEK = $pbkdf2->PBKDF2 ($salt_bin, $word);
57 $B = $aes->decrypt ($B, $KEK);
66 $B = $aes->decrypt ($B, $KEK);
79 $B = $aes->encrypt ($B, $KEK);
88 $B = $aes->encrypt ($B, $KEK);
113 $B = $aes->encrypt ($B, $KEK);
122 $B = $aes->encrypt ($B, $KEK);
/dports/security/erlang-jose/erlang-jose-1.11.1/test/
H A Djose_jwa_SUITE.erl204 CipherText = jose_jwa_aes_kw:wrap(KeyData, KEK),
205 KeyData = jose_jwa_aes_kw:unwrap(CipherText, KEK),
213 CipherText = jose_jwa_aes_kw:wrap(KeyData, KEK),
214 KeyData = jose_jwa_aes_kw:unwrap(CipherText, KEK),
222 CipherText = jose_jwa_aes_kw:wrap(KeyData, KEK),
223 KeyData = jose_jwa_aes_kw:unwrap(CipherText, KEK),
231 CipherText = jose_jwa_aes_kw:wrap(KeyData, KEK),
232 KeyData = jose_jwa_aes_kw:unwrap(CipherText, KEK),
240 CipherText = jose_jwa_aes_kw:wrap(KeyData, KEK),
241 KeyData = jose_jwa_aes_kw:unwrap(CipherText, KEK),
[all …]
/dports/security/elixir-jose/erlang-jose-1.11.1/test/
H A Djose_jwa_SUITE.erl204 CipherText = jose_jwa_aes_kw:wrap(KeyData, KEK),
205 KeyData = jose_jwa_aes_kw:unwrap(CipherText, KEK),
213 CipherText = jose_jwa_aes_kw:wrap(KeyData, KEK),
214 KeyData = jose_jwa_aes_kw:unwrap(CipherText, KEK),
222 CipherText = jose_jwa_aes_kw:wrap(KeyData, KEK),
223 KeyData = jose_jwa_aes_kw:unwrap(CipherText, KEK),
231 CipherText = jose_jwa_aes_kw:wrap(KeyData, KEK),
232 KeyData = jose_jwa_aes_kw:unwrap(CipherText, KEK),
240 CipherText = jose_jwa_aes_kw:wrap(KeyData, KEK),
241 KeyData = jose_jwa_aes_kw:unwrap(CipherText, KEK),
[all …]
/dports/editors/encryptpad/EncryptPad-0.5.0.1/deps/botan/src/tests/data/keywrap/
H A Drfc3394.vec4 KEK = 000102030405060708090A0B0C0D0E0F
8 KEK = 000102030405060708090A0B0C0D0E0F1011121314151617
12 KEK = 000102030405060708090A0B0C0D0E0F101112131415161718191A1B1C1D1E1F
16 KEK = 000102030405060708090A0B0C0D0E0F1011121314151617
20 KEK = 000102030405060708090A0B0C0D0E0F101112131415161718191A1B1C1D1E1F
24 KEK = 000102030405060708090A0B0C0D0E0F101112131415161718191A1B1C1D1E1F
/dports/security/botan2/Botan-2.18.2/src/tests/data/keywrap/
H A Drfc3394.vec4 KEK = 000102030405060708090A0B0C0D0E0F
8 KEK = 000102030405060708090A0B0C0D0E0F1011121314151617
12 KEK = 000102030405060708090A0B0C0D0E0F101112131415161718191A1B1C1D1E1F
16 KEK = 000102030405060708090A0B0C0D0E0F1011121314151617
20 KEK = 000102030405060708090A0B0C0D0E0F101112131415161718191A1B1C1D1E1F
24 KEK = 000102030405060708090A0B0C0D0E0F101112131415161718191A1B1C1D1E1F
/dports/net-mgmt/observium/observium/mibs/oneaccess/
H A DONEACCESS-GDOI-MIB112 KEK encryption algorithm being used"
393 -- # The GDOI "Group Member (GM) KEK SA" Table
416 the KEK. There will be at least one KEK SA entry for each GM
417 & two KEK SA entries for a given GM only during a KEK rekey
418 when a new KEK is received & installed. The KEK SPI is
424 5.3. SA KEK Payload
425 5.3.1. KEK Attributes
466 a KEK SA with its type indicated by the
469 Identification Data' of a KEK payload."
482 Identification Data' of a KEK payload."
[all …]
/dports/net-mgmt/carbonzipper/carbonzipper-0.74/vendor/github.com/lomik/og-rek/fuzz/corpus/
H A D3427b8082823a815290259065a8796f1bf5b3bad-61 K\K\K\K\K\K\K\K\K\K\K\K\KEK�K\K\K\K\KEK�K\K\KEK�K\K\K\K\KEK�K\K\K7
/dports/www/chromium-legacy/chromium-88.0.4324.182/components/test/data/webcrypto/
H A Daes_kw.json3 // 4.1 Wrap 128 bits of Key Data with a 128-bit KEK
9 // 4.3 Wrap 128 bits of Key Data with a 256-bit KEK
15 // 4.5 Wrap 192 bits of Key Data with a 256-bit KEK
21 // 4.6 Wrap 256 bits of Key Data with a 256-bit KEK
/dports/security/opensaml/opensaml-3.2.1/saml/saml2/core/impl/
H A DAssertions.cpp74 const Credential* KEK = nullptr; in encrypt() local
76 … for (vector<const Credential*>::const_iterator c = creds.begin(); !KEK && c != creds.end(); ++c) { in encrypt()
107 KEK = *c; in encrypt()
110 if (!KEK) in encrypt()
126 Encrypter::KeyEncryptionParams kep(*KEK, keyalg); in encrypt()
177 const Credential* KEK = nullptr; in encrypt() local
179 … for (vector<const Credential*>::const_iterator c = creds.begin(); !KEK && c != creds.end(); ++c) { in encrypt()
203 KEK = *c; in encrypt()
206 if (!KEK) { in encrypt()
214 …*KEK, keyalg, dynamic_cast<const EntityDescriptor*>(r->second->getRole().getParent())->getEntityID… in encrypt()
/dports/security/john/john-1.9.0-jumbo-1/src/
H A Daxcrypt_fmt_plug.c130 unsigned char KEK[32]; in crypt_all() local
158 SHA1_Final(KEK, &ctx); in crypt_all()
162 KEK[k] ^= cur_salt->salt[k]; in crypt_all()
166 AES_set_decrypt_key(KEK, 128, &akey); in crypt_all()
228 memset(KEK, 0, 32); in crypt_all()
230 KEK[k % 32] ^= seed[i][k]; in crypt_all()
234 KEK[k] = KEK[k] ^ cur_salt->salt[k]; in crypt_all()
236 AES_set_decrypt_key(KEK, 256, &akey); in crypt_all()
/dports/security/john/john-1.9.0-jumbo-1/src/opencl/
H A Daxcrypt2_kernel.cl51 unsigned char KEK[32];
59 memset_p(KEK, 0, 32);
62 KEK[k % 32] ^= key.c[k];
65 KEK[k] = KEK[k] ^ salt->salt[k];
67 AES_set_decrypt_key(KEK, 256, &akey);
/dports/security/erlang-jose/erlang-jose-1.11.1/test/property_test/
H A Djose_jwa_aes_kw_props.erl17 ?FORALL({_Bits, KEK, PlainText},
20 CipherText = jose_jwa_aes_kw:wrap(PlainText, KEK),
21 PlainText =:= jose_jwa_aes_kw:unwrap(CipherText, KEK)
/dports/security/elixir-jose/erlang-jose-1.11.1/test/property_test/
H A Djose_jwa_aes_kw_props.erl17 ?FORALL({_Bits, KEK, PlainText},
20 CipherText = jose_jwa_aes_kw:wrap(PlainText, KEK),
21 PlainText =:= jose_jwa_aes_kw:unwrap(CipherText, KEK)

12345678910>>...21