Select one of the symbols to view example projects that use it.
 
Outline
#define DES_I_H
des3_key_s
des_key_setup(const u8 *, u32 *, u32 *);
des_block_encrypt(const u8 *, const u32 *, u8 *);
des_block_decrypt(const u8 *, const u32 *, u8 *);
des3_key_setup(const u8 *, struct des3_key_s *);
des3_encrypt(const u8 *, const struct des3_key_s *, u8 *);
des3_decrypt(const u8 *, const struct des3_key_s *, u8 *);
Files
loading...
SourceVuESP-IDF Framework and ExamplesESP-IDFcomponents/wpa_supplicant/src/crypto/des_i.h
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
/* * DES and 3DES-EDE ciphers * Copyright (c) 2006-2009, Jouni Malinen <j@w1.fi> * * This software may be distributed under the terms of the BSD license. * See README for more details. *//* ... */ #ifndef DES_I_H #define DES_I_H struct des3_key_s { u32 ek[3][32]; u32 dk[3][32]; }{ ... }; void des_key_setup(const u8 *key, u32 *ek, u32 *dk); void des_block_encrypt(const u8 *plain, const u32 *ek, u8 *crypt); void des_block_decrypt(const u8 *crypt, const u32 *dk, u8 *plain); void des3_key_setup(const u8 *key, struct des3_key_s *dkey); void des3_encrypt(const u8 *plain, const struct des3_key_s *key, u8 *crypt); void des3_decrypt(const u8 *crypt, const struct des3_key_s *key, u8 *plain); /* ... */ #endif /* DES_I_H */
Details