mirror of
https://github.com/openssl/openssl.git
synced 2025-01-18 13:44:20 +08:00
CMAC FIPS prototypes.
This commit is contained in:
parent
f41154b206
commit
e6e7b4e825
@ -75,6 +75,7 @@ struct evp_cipher_ctx_st;
|
||||
struct ec_method_st;
|
||||
struct ecdsa_method;
|
||||
struct dh_method;
|
||||
struct CMAC_CTX_st;
|
||||
|
||||
int FIPS_module_mode_set(int onoff);
|
||||
int FIPS_module_mode(void);
|
||||
@ -301,6 +302,13 @@ const struct dh_method *FIPS_dh_openssl(void);
|
||||
int FIPS_dh_generate_parameters_ex(DH *dh, int prime_len,
|
||||
int generator, BN_GENCB *cb);
|
||||
|
||||
int FIPS_cmac_init(struct CMAC_CTX_st *ctx, const void *key, size_t keylen,
|
||||
const EVP_CIPHER *cipher, ENGINE *impl);
|
||||
int FIPS_cmac_update(struct CMAC_CTX_st *ctx, const void *in, size_t dlen);
|
||||
int FIPS_cmac_final(struct CMAC_CTX_st *ctx, unsigned char *out,
|
||||
size_t *poutlen);
|
||||
void FIPS_cmac_ctx_cleanup(struct CMAC_CTX_st *ctx);
|
||||
|
||||
#endif
|
||||
|
||||
/* Where necessary redirect standard OpenSSL APIs to FIPS versions */
|
||||
|
Loading…
Reference in New Issue
Block a user