1 #ifndef STRACE_KEYCTL_KDF_PARAMS_H 2 #define STRACE_KEYCTL_KDF_PARAMS_H 3 4 #include <stdint.h> 5 #include "kernel_types.h" 6 7 /* from include/linux/crypto.h */ 8 #define CRYPTO_MAX_ALG_NAME 128 9 10 /* from security/keys/internal.h */ 11 #define KEYCTL_KDF_MAX_OI_LEN 64 /* max length of otherinfo */ 12 13 struct keyctl_kdf_params { 14 char *hashname; 15 char *otherinfo; 16 uint32_t otherinfolen; 17 uint32_t __spare[8]; 18 }; 19 20 struct strace_keyctl_kdf_params { 21 kernel_ulong_t hashname; 22 kernel_ulong_t otherinfo; 23 uint32_t otherinfolen; 24 uint32_t __spare[8]; 25 }; 26 27 #endif /* STRACE_KEYCTL_KDF_PARAMS_H */ 28