Function report |
Source Code:lib\crypto\chacha20poly1305-selftest.c |
Create Date:2022-07-28 06:45:23 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:chacha20poly1305_selftest_encrypt
Proto:static void __init chacha20poly1305_selftest_encrypt(u8 *dst, const u8 *src, const size_t src_len, const u8 *ad, const size_t ad_len, const u8 *nonce, const size_t nonce_len, const u8 key[CHACHA20POLY1305_KEY_SIZE])
Type:void
Parameter:
Type | Parameter | Name |
---|---|---|
u8 * | dst | |
const u8 * | src | |
const size_t | src_len | |
const u8 * | ad | |
const size_t | ad_len | |
const u8 * | nonce | |
const size_t | nonce_len | |
const u8 | key |
7233 | If nonce_len == 8 Then chacha20poly1305_encrypt(dst, src, src_len, ad, ad_len, get_unaligned_le64(nonce), key) |
7236 | Else BUG() |
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 |