Home
last modified time | relevance | path

Searched refs:dk (Results 1 – 4 of 4) sorted by relevance

/hostap-3.6.0/src/crypto/
Ddes-internal.c428 void des_key_setup(const u8 *key, u32 *ek, u32 *dk) in des_key_setup() argument
431 deskey(key, 1, dk); in des_key_setup()
446 void des_block_decrypt(const u8 *crypt, const u32 *dk, u8 *plain) in des_block_decrypt() argument
451 desfunc(work, dk); in des_block_decrypt()
463 deskey(key, 1, dkey->dk[2]); in des3_key_setup()
464 deskey(key + 8, 0, dkey->dk[1]); in des3_key_setup()
465 deskey(key + 16, 1, dkey->dk[0]); in des3_key_setup()
489 desfunc(work, key->dk[0]); in des3_decrypt()
490 desfunc(work, key->dk[1]); in des3_decrypt()
491 desfunc(work, key->dk[2]); in des3_decrypt()
Ddes_i.h14 u32 dk[3][32]; member
17 void des_key_setup(const u8 *key, u32 *ek, u32 *dk);
19 void des_block_decrypt(const u8 *crypt, const u32 *dk, u8 *plain);
Dcrypto_internal-cipher.c36 u32 dk[32]; member
91 des_key_setup(key, ctx->u.des.ek, ctx->u.des.dk); in crypto_cipher_init()
214 des_block_decrypt(crypt, ctx->u.des.dk, plain); in crypto_cipher_decrypt()
Dcrypto_module_tests.c1268 char dk[32]; member
1404 u8 dk[25]; in test_sha1() local
1408 test->c, dk, test->dk_len) == 0 && in test_sha1()
1409 os_memcmp(dk, test->dk, test->dk_len) == 0) in test_sha1()