Home
last modified time | relevance | path

Searched refs:siglen (Results 1 – 3 of 3) sorted by relevance

/base/security/crypto_framework/test/unittest/src/
Dopenssl_adapter_mock.c490 int Openssl_EVP_DigestSignFinal(EVP_MD_CTX *ctx, unsigned char *sigret, size_t *siglen) in Openssl_EVP_DigestSignFinal() argument
500 int res = EVP_DigestSignFinal(ctx, sigret, siglen); in Openssl_EVP_DigestSignFinal()
501 *siglen = *siglen * 2; in Openssl_EVP_DigestSignFinal()
511 return EVP_DigestSignFinal(ctx, sigret, siglen); in Openssl_EVP_DigestSignFinal()
530 int Openssl_EVP_DigestVerifyFinal(EVP_MD_CTX *ctx, const unsigned char *sig, size_t siglen) in Openssl_EVP_DigestVerifyFinal() argument
535 return EVP_DigestVerifyFinal(ctx, sig, siglen); in Openssl_EVP_DigestVerifyFinal()
546 int Openssl_EVP_PKEY_sign(EVP_PKEY_CTX *ctx, unsigned char *sig, size_t *siglen, const unsigned cha… in Openssl_EVP_PKEY_sign() argument
552 return EVP_PKEY_sign(ctx, sig, siglen, tbs, tbslen); in Openssl_EVP_PKEY_sign()
563 int Openssl_EVP_PKEY_verify(EVP_PKEY_CTX *ctx, const unsigned char *sig, size_t siglen, const unsig… in Openssl_EVP_PKEY_verify() argument
569 return EVP_PKEY_verify(ctx, sig, siglen, tbs, tbslen); in Openssl_EVP_PKEY_verify()
/base/security/crypto_framework/plugin/openssl_plugin/common/src/
Dopenssl_adapter.c310 int Openssl_EVP_DigestSignFinal(EVP_MD_CTX *ctx, unsigned char *sigret, size_t *siglen) in Openssl_EVP_DigestSignFinal() argument
312 return EVP_DigestSignFinal(ctx, sigret, siglen); in Openssl_EVP_DigestSignFinal()
325 int Openssl_EVP_DigestVerifyFinal(EVP_MD_CTX *ctx, const unsigned char *sig, size_t siglen) in Openssl_EVP_DigestVerifyFinal() argument
327 return EVP_DigestVerifyFinal(ctx, sig, siglen); in Openssl_EVP_DigestVerifyFinal()
335 int Openssl_EVP_PKEY_sign(EVP_PKEY_CTX *ctx, unsigned char *sig, size_t *siglen, const unsigned cha… in Openssl_EVP_PKEY_sign() argument
338 return EVP_PKEY_sign(ctx, sig, siglen, tbs, tbslen); in Openssl_EVP_PKEY_sign()
346 int Openssl_EVP_PKEY_verify(EVP_PKEY_CTX *ctx, const unsigned char *sig, size_t siglen, const unsig… in Openssl_EVP_PKEY_verify() argument
349 return EVP_PKEY_verify(ctx, sig, siglen, tbs, tbslen); in Openssl_EVP_PKEY_verify()
/base/security/crypto_framework/plugin/openssl_plugin/common/inc/
Dopenssl_adapter.h96 int Openssl_EVP_DigestSignFinal(EVP_MD_CTX *ctx, unsigned char *sigret, size_t *siglen);
99 int Openssl_EVP_DigestVerifyFinal(EVP_MD_CTX *ctx, const unsigned char *sig, size_t siglen);
101 int Openssl_EVP_PKEY_sign(EVP_PKEY_CTX *ctx, unsigned char *sig, size_t *siglen, const unsigned cha…
104 int Openssl_EVP_PKEY_verify(EVP_PKEY_CTX *ctx, const unsigned char *sig, size_t siglen, const unsig…