| Function report | 
| Source Code: security\keys\encrypted-keys\encrypted.c | Create Date:2022-07-28 18:33:04 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:calc_hmac
Proto:static int calc_hmac(u8 *digest, const u8 *key, unsigned int keylen, const u8 *buf, unsigned int buflen)
Type:int
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| u8 * | digest | |
| const u8 * | key | |
| unsigned int | keylen | |
| const u8 * | buf | |
| unsigned int | buflen | 
| 345 | tfm = crypto_alloc_shash(hmac_alg, 0, 0) | 
| 356 | Return err | 
| Name | Describe | 
|---|---|
| datablob_hmac_append | |
| datablob_hmac_verify | verify HMAC before decrypting encrypted key | 
| Source code conversion tool public plug-in interface | X | 
|---|---|
| Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |