Home
last modified time | relevance | path

Searched refs:hash_type (Results 1 – 4 of 4) sorted by relevance

/bsp/xuantie/libraries/xuantie_libraries/csi/csi2/include/drv/
A Drsa.h170 …_context_t *context, void *src, uint32_t src_size, void *signature, csi_rsa_hash_type_t hash_type);
183 …, void *src, uint32_t src_size, void *signature, uint32_t sig_size, csi_rsa_hash_type_t hash_type);
/bsp/xuantie/libraries/xuantie_libraries/chip_riscv_dummy/src/drivers/
A Drsa.c1160 …a_context_t *context, void *src, uint32_t src_size, void *signature, csi_rsa_hash_type_t hash_type) in csi_rsa_sign() argument
1171 if (src_size <= 0 || (hash_type != RSA_HASH_TYPE_MD5 in csi_rsa_sign()
1172 && hash_type != RSA_HASH_TYPE_SHA1 in csi_rsa_sign()
1173 && hash_type != RSA_HASH_TYPE_SHA256)) { in csi_rsa_sign()
1182 …t->d, (uint8_t *)src, (uint32_t)src_size, (uint8_t *)signature, (uint32_t)(hash_type), bit_length); in csi_rsa_sign()
1262 …t, void *src, uint32_t src_size, void *signature, uint32_t sig_size, csi_rsa_hash_type_t hash_type) in csi_rsa_verify() argument
1379 …a_context_t *context, void *src, uint32_t src_size, void *signature, csi_rsa_hash_type_t hash_type) in csi_rsa_sign_async() argument
1390 if (src_size <= 0 || (hash_type != RSA_HASH_TYPE_MD5 in csi_rsa_sign_async()
1391 && hash_type != RSA_HASH_TYPE_SHA1 in csi_rsa_sign_async()
1392 && hash_type != RSA_HASH_TYPE_SHA256)) { in csi_rsa_sign_async()
[all …]
/bsp/ck802/libraries/common/rsa/
A Dck_rsa.c1026 rsa_priv->padding.hash_type = RSA_HASH_TYPE_SHA1; in csi_rsa_initialize()
1194 …if (src_size <= 0 || (padding.hash_type != RSA_HASH_TYPE_MD5 && padding.hash_type != RSA_HASH_TYPE… in csi_rsa_sign()
1200 …rc, (uint32_t)src_size, (uint8_t *)signature, (uint32_t *)sig_size, (uint32_t)(padding.hash_type)); in csi_rsa_sign()
1231 …if (src_size <= 0 || sig_size <= 0 || (padding.hash_type != RSA_HASH_TYPE_MD5 && padding.hash_type in csi_rsa_verify()
1237 …nt32_t)src_size, (uint8_t *)signature, sig_size, (uint8_t *)result, (uint32_t)(padding.hash_type)); in csi_rsa_verify()
/bsp/ck802/libraries/include/
A Ddrv_rsa.h78 rsa_hash_type_e hash_type; member

Completed in 15 milliseconds