SKF Wrapper

This commit is contained in:
Zhi Guan
2016-05-29 00:22:33 +02:00
parent 0cf9126a7d
commit ee4384daeb
142 changed files with 9469 additions and 6750 deletions

View File

@@ -53,6 +53,7 @@
* 2. the message length should be multiple of block size
* 3. the implementation do not add padding
*/
#ifndef HEADER_CBCMAC_H
#define HEADER_CBCMAC_H
@@ -77,8 +78,25 @@ int CBCMAC_Update(CBCMAC_CTX *ctx, const void *data, size_t datalen);
int CBCMAC_Final(CBCMAC_CTX *ctx, unsigned char *out, size_t *outlen);
int CBCMAC_resume(CBCMAC_CTX *ctx);
/* BEGIN ERROR CODES */
/*
* The following lines are auto generated by the script mkerr.pl. Any changes
* made after this point may be overwritten when the script is next run.
*/
void ERR_load_CBCMAC_strings(void);
/* Error codes for the CBCMAC functions. */
/* Function codes. */
# define CBCMAC_F_CBCMAC_FINAL 100
# define CBCMAC_F_CBCMAC_INIT 101
# define CBCMAC_F_CBCMAC_UPDATE 102
/* Reason codes. */
# define CBCMAC_R_CIPHER_CTX_INIT_FAILED 100
# define CBCMAC_R_CIPHER_NOT_ECB_MODE 101
#ifdef __cplusplus
}
#endif
#endif