Go to the source code of this file.
|
| int | crypto_shash_init (struct shash_desc *desc) |
| |
| int | crypto_shash_setkey (struct crypto_shash *tfm, const u8 *key, unsigned int keylen) |
| |
| int | crypto_shash_export (struct shash_desc *desc, void *out) |
| |
| int | crypto_shash_import (struct shash_desc *desc, const void *in) |
| |
| int | crypto_shash_finup (struct shash_desc *desc, const u8 *data, unsigned int len, u8 *out) |
| |
| int | crypto_shash_update (struct shash_desc *desc, const u8 *data, unsigned int len) |
| |
| int | crypto_shash_final (struct shash_desc *desc, u8 *out) |
| |
◆ SHASH_DESC_ON_STACK
| #define SHASH_DESC_ON_STACK |
( |
|
shash, |
|
|
|
ctx |
|
) |
| |
Value: char __##shash##_desc[
sizeof(
struct shash_desc) + sizeof(psa_hash_operation_t)]\
#define VSF_CAL_ALIGN(__N)
Definition __compiler.h:184
◆ crypto_shash_init()
◆ crypto_shash_setkey()
| int crypto_shash_setkey |
( |
struct crypto_shash * |
tfm, |
|
|
const u8 * |
key, |
|
|
unsigned int |
keylen |
|
) |
| |
◆ crypto_shash_export()
| int crypto_shash_export |
( |
struct shash_desc * |
desc, |
|
|
void * |
out |
|
) |
| |
◆ crypto_shash_import()
| int crypto_shash_import |
( |
struct shash_desc * |
desc, |
|
|
const void * |
in |
|
) |
| |
◆ crypto_shash_finup()
| int crypto_shash_finup |
( |
struct shash_desc * |
desc, |
|
|
const u8 * |
data, |
|
|
unsigned int |
len, |
|
|
u8 * |
out |
|
) |
| |
◆ crypto_shash_update()
| int crypto_shash_update |
( |
struct shash_desc * |
desc, |
|
|
const u8 * |
data, |
|
|
unsigned int |
len |
|
) |
| |
◆ crypto_shash_final()
| int crypto_shash_final |
( |
struct shash_desc * |
desc, |
|
|
u8 * |
out |
|
) |
| |