Home
last modified time | relevance | path

Searched refs:SM3_DIGEST_SIZE (Results 1 – 12 of 12) sorted by relevance

/linux-5.19.10/include/crypto/
Dsm3.h15 #define SM3_DIGEST_SIZE 32 macro
30 extern const u8 sm3_zero_message_hash[SM3_DIGEST_SIZE];
33 u32 state[SM3_DIGEST_SIZE / 4];
Dsm2.h23 unsigned char dgst[SM3_DIGEST_SIZE]);
Dsm3_base.h105 for (i = 0; i < SM3_DIGEST_SIZE / sizeof(__be32); i++) in sm3_base_finish()
/linux-5.19.10/crypto/
Dsm3_generic.c22 const u8 sm3_zero_message_hash[SM3_DIGEST_SIZE] = {
55 .digestsize = SM3_DIGEST_SIZE,
Dsm2.c263 unsigned char dgst[SM3_DIGEST_SIZE]) in sm2_compute_z_digest() argument
/linux-5.19.10/arch/arm64/crypto/
Dsm3-ce-glue.c77 .digestsize = SM3_DIGEST_SIZE,
/linux-5.19.10/arch/x86/crypto/
Dsm3_avx_glue.c84 .digestsize = SM3_DIGEST_SIZE,
/linux-5.19.10/crypto/asymmetric_keys/
Dpublic_key.c302 unsigned char dgst[SM3_DIGEST_SIZE]; in cert_sig_digest_update()
333 ret = crypto_shash_update(desc, dgst, SM3_DIGEST_SIZE); in cert_sig_digest_update()
/linux-5.19.10/drivers/crypto/inside-secure/
Dsafexcel_hash.c800 EIP197_SM3_ZEROM_HASH, SM3_DIGEST_SIZE); in safexcel_ahash_final()
2282 req->state_sz = SM3_DIGEST_SIZE; in safexcel_sm3_init()
2283 req->digest_sz = SM3_DIGEST_SIZE; in safexcel_sm3_init()
2311 .digestsize = SM3_DIGEST_SIZE,
2334 SM3_DIGEST_SIZE); in safexcel_hmac_sm3_setkey()
2345 memcpy(req->state, &ctx->base.ipad, SM3_DIGEST_SIZE); in safexcel_hmac_sm3_init()
2352 req->state_sz = SM3_DIGEST_SIZE; in safexcel_hmac_sm3_init()
2353 req->digest_sz = SM3_DIGEST_SIZE; in safexcel_hmac_sm3_init()
2383 .digestsize = SM3_DIGEST_SIZE,
Dsafexcel_cipher.c3449 ctx->state_sz = SM3_DIGEST_SIZE; in safexcel_aead_sm4cbc_sm3_cra_init()
3462 .maxauthsize = SM3_DIGEST_SIZE,
3533 .maxauthsize = SM3_DIGEST_SIZE,
/linux-5.19.10/drivers/crypto/keembay/
Dkeembay-ocs-hcu-core.c998 .digestsize = SM3_DIGEST_SIZE,
1023 .digestsize = SM3_DIGEST_SIZE,
/linux-5.19.10/drivers/crypto/ccree/
Dcc_hash.c1759 .digestsize = SM3_DIGEST_SIZE,
1760 .statesize = CC_STATE_SIZE(SM3_DIGEST_SIZE),
1765 .inter_digestsize = SM3_DIGEST_SIZE,