Home
last modified time | relevance | path

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

/base/startup/hvb/libhvb/src/crypto/
Dhvb_rsa_verify.c99 static int rsa_pss_get_emlen(uint32_t klen, struct long_int_num *pn, in rsa_pss_get_emlen() argument
113 if (*emlen > klen) { in rsa_pss_get_emlen()
291 uint32_t klen; in hvb_rsa_verify_pss_param_check() local
299 klen = bit2byte(pkey->width); in hvb_rsa_verify_pss_param_check()
303 if (pkey->nlen != klen || pkey->rlen > pkey->nlen) { in hvb_rsa_verify_pss_param_check()
306 if (signlen > klen) { in hvb_rsa_verify_pss_param_check()
347 uint32_t klen; in hvb_rsa_verify_pss() local
363 klen = bit2byte(pkey->width); in hvb_rsa_verify_pss()
397 ret = rsa_pss_get_emlen(klen, p_n, &emlen, &embits); in hvb_rsa_verify_pss()
401 if (klen - emlen == 1 && em_data[0] != 0) { in hvb_rsa_verify_pss()
[all …]
/base/security/crypto_framework/plugin/openssl_plugin/common/src/
Dopenssl_adapter.c666 char *kstr, int klen, pem_password_cb *cb, void *u) in Openssl_i2d_PKCS8PrivateKey_bio() argument
668 return i2d_PKCS8PrivateKey_bio(bp, x, enc, kstr, klen, cb, u); in Openssl_i2d_PKCS8PrivateKey_bio()
/base/security/crypto_framework/test/unittest/src/
Dopenssl_adapter_mock.c981 char *kstr, int klen, pem_password_cb *cb, void *u) in Openssl_i2d_PKCS8PrivateKey_bio() argument
983 return i2d_PKCS8PrivateKey_bio(bp, x, enc, kstr, klen, cb, u); in Openssl_i2d_PKCS8PrivateKey_bio()
/base/security/crypto_framework/plugin/openssl_plugin/common/inc/
Dopenssl_adapter.h178 char *kstr, int klen, pem_password_cb *cb, void *u);