Function report |
Source Code:lib\crypto\chacha20poly1305.c |
Create Date:2022-07-28 06:44:51 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:chacha20poly1305_decrypt_sg_inplace
Proto:bool chacha20poly1305_decrypt_sg_inplace(struct scatterlist *src, size_t src_len, const u8 *ad, const size_t ad_len, const u64 nonce, const u8 key[CHACHA20POLY1305_KEY_SIZE])
Type:bool
Parameter:
Type | Parameter | Name |
---|---|---|
struct scatterlist * | src | |
size_t | src_len | |
const u8 * | ad | |
const size_t | ad_len | |
const u64 | nonce | |
const u8 | key |
352 | If Value for the false possibility is greater at compile time(src_len < POLY1305_DIGEST_SIZE) Then Return false |
355 | Return chacha20poly1305_crypt_sg_inplace(src, src_len - POLY1305_DIGEST_SIZE, ad, ad_len, nonce, key, 0) |
Name | Describe |
---|---|
chacha20poly1305_selftest |
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 |