Home
last modified time | relevance | path

Searched refs:klen (Results 1 – 5 of 5) sorted by relevance

/ohos5.0/foundation/communication/dsoftbus/components/nstackx/fillp/src/fillp_lib/src/
H A Dhmac.c68 void FillpHmacSha256Init(OUT FillpHmacSha256 ctx[1], IN FILLP_UINT8 *key, FILLP_UINT32 klen, in FillpHmacSha256Init() argument
86 if ((key == FILLP_NULL_PTR) || (klen == 0)) { in FillpHmacSha256Init()
90 if (klen > FILLP_SHA256_BLOCK_SIZE) { in FillpHmacSha256Init()
93 FillpSha256Upd(&tctx, key, klen); in FillpHmacSha256Init()
96 klen = FILLP_SHA256_DIGEST_SIZE; in FillpHmacSha256Init()
101 FillpErrorType err = memcpy_s(keyIpad, klen, key, klen); in FillpHmacSha256Init()
106 err = memcpy_s(keyOpad, klen, key, klen); in FillpHmacSha256Init()
/ohos5.0/base/startup/hvb/libhvb/src/crypto/
H A Dhvb_rsa_verify.c113 if (*emlen > klen) { in rsa_pss_get_emlen()
295 uint32_t klen; in hvb_rsa_verify_pss_param_check() local
304 klen = bit2byte(pkey->width); in hvb_rsa_verify_pss_param_check()
309 if (n_validlen != klen || pkey->rlen > pkey->nlen) { in hvb_rsa_verify_pss_param_check()
312 if (signlen > klen) { in hvb_rsa_verify_pss_param_check()
353 uint32_t klen; in hvb_rsa_verify_pss() local
369 klen = bit2byte(pkey->width); in hvb_rsa_verify_pss()
396 em_data = hvb_malloc(klen); in hvb_rsa_verify_pss()
402 hvb_memset(em_data, 0, klen); in hvb_rsa_verify_pss()
403 invert_copy(em_data, (uint8_t *)em->p_uint, klen); in hvb_rsa_verify_pss()
[all …]
/ohos5.0/foundation/communication/dsoftbus/components/nstackx/fillp/src/fillp_lib/include/
H A Dhmac.h62 void FillpHmacSha256Init(OUT FillpHmacSha256 ctx[1], IN FILLP_UINT8 *key, FILLP_UINT32 klen,
/ohos5.0/base/update/packaging_tools/test/
H A Dsource_vendor_data Error!