Skip to content

Fix PBES and OMAC flag scopes #687

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions src/headers/tomcrypt_private.h
Original file line number Diff line number Diff line change
Expand Up @@ -108,12 +108,12 @@ typedef struct
/* only used for RC2 */
unsigned long key_bits;
} pbes_arg;
#endif

typedef struct {
const pbes_properties *data;
const char *oid;
} oid_to_pbes;
#endif

/*
* Internal functions
Expand Down Expand Up @@ -179,8 +179,9 @@ int func_name (hash_state * md, const unsigned char *in, unsigned long inlen)
int ocb3_int_ntz(unsigned long x);
void ocb3_int_xor_blocks(unsigned char *out, const unsigned char *block_a, const unsigned char *block_b, unsigned long block_len);

#ifdef LTC_OMAC
int omac_vprocess(omac_state *omac, const unsigned char *in, unsigned long inlen, va_list args);

#endif
/* tomcrypt_math.h */

#if !defined(DESC_DEF_ONLY)
Expand Down