Home
last modified time | relevance | path

Searched refs:sig_size (Results 1 – 11 of 11) sorted by relevance

/mbedtls-3.5.0/library/
Dpk_wrap.c302 unsigned char *sig, size_t sig_size, in mbedtls_pk_psa_rsa_sign_ext() argument
315 if (sig_size < *sig_len) { in mbedtls_pk_psa_rsa_sign_ext()
339 sig, sig_size, sig_len); in mbedtls_pk_psa_rsa_sign_ext()
359 unsigned char *sig, size_t sig_size, size_t *sig_len, in rsa_sign_wrap() argument
374 sig, sig_size, sig_len); in rsa_sign_wrap()
379 unsigned char *sig, size_t sig_size, size_t *sig_len, in rsa_sign_wrap() argument
389 if (sig_size < *sig_len) { in rsa_sign_wrap()
909 unsigned char *sig, size_t sig_size, size_t *sig_len, in ecdsa_sign_wrap() argument
959 sig, sig_size, sig_len); in ecdsa_sign_wrap()
965 ret = pk_ecdsa_sig_asn1_from_psa(sig, sig_len, sig_size); in ecdsa_sign_wrap()
[all …]
Dlmots.h183 size_t sig_size,
216 size_t sig_size);
315 unsigned char *sig, size_t sig_size, size_t *sig_len);
Dpk_wrap.h55 unsigned char *sig, size_t sig_size, size_t *sig_len,
69 unsigned char *sig, size_t sig_size, size_t *sig_len,
162 unsigned char *sig, size_t sig_size,
Dpk.c606 unsigned char *sig, size_t sig_size, size_t *sig_len, in mbedtls_pk_sign_restartable() argument
631 sig, sig_size, sig_len, in mbedtls_pk_sign_restartable()
650 sig, sig_size, sig_len, in mbedtls_pk_sign_restartable()
659 unsigned char *sig, size_t sig_size, size_t *sig_len, in mbedtls_pk_sign() argument
663 sig, sig_size, sig_len, in mbedtls_pk_sign()
675 unsigned char *sig, size_t sig_size, size_t *sig_len, in mbedtls_pk_sign_ext() argument
694 sig, sig_size, sig_len, f_rng, p_rng); in mbedtls_pk_sign_ext()
709 sig, sig_size, sig_len); in mbedtls_pk_sign_ext()
715 sig, sig_size, sig_len); in mbedtls_pk_sign_ext()
Dlmots.c497 size_t sig_size, in mbedtls_lmots_calculate_public_key_candidate() argument
510 if (sig_size != MBEDTLS_LMOTS_SIG_LEN(params->type) || in mbedtls_lmots_calculate_public_key_candidate()
545 const unsigned char *sig, size_t sig_size) in mbedtls_lmots_verify() argument
562 if (sig_size < MBEDTLS_LMOTS_SIG_TYPE_OFFSET + MBEDTLS_LMOTS_TYPE_LEN) { in mbedtls_lmots_verify()
573 msg, msg_size, sig, sig_size, in mbedtls_lmots_verify()
734 unsigned char *sig, size_t sig_size, size_t *sig_len) in mbedtls_lmots_sign() argument
752 if (sig_size < MBEDTLS_LMOTS_SIG_LEN(ctx->params.type)) { in mbedtls_lmots_sign()
Dlms.c309 const unsigned char *sig, size_t sig_size) in mbedtls_lms_verify() argument
336 if (sig_size != MBEDTLS_LMS_SIG_LEN(ctx->params.type, ctx->params.otstype)) { in mbedtls_lms_verify()
340 if (sig_size < SIG_OTS_SIG_OFFSET + MBEDTLS_LMOTS_TYPE_LEN) { in mbedtls_lms_verify()
351 if (sig_size < SIG_TYPE_OFFSET(ctx->params.otstype) + MBEDTLS_LMS_TYPE_LEN) { in mbedtls_lms_verify()
708 unsigned int msg_size, unsigned char *sig, size_t sig_size, in mbedtls_lms_sign() argument
718 if (sig_size < MBEDTLS_LMS_SIG_LEN(ctx->params.type, ctx->params.otstype)) { in mbedtls_lms_sign()
Decdsa.c622 unsigned char *sig, size_t sig_size, in ecdsa_signature_to_asn1() argument
638 if (len > sig_size) { in ecdsa_signature_to_asn1()
654 unsigned char *sig, size_t sig_size, size_t *slen, in mbedtls_ecdsa_write_signature_restartable() argument
688 MBEDTLS_MPI_CHK(ecdsa_signature_to_asn1(&r, &s, sig, sig_size, slen)); in mbedtls_ecdsa_write_signature_restartable()
703 unsigned char *sig, size_t sig_size, size_t *slen, in mbedtls_ecdsa_write_signature() argument
708 ctx, md_alg, hash, hlen, sig, sig_size, slen, in mbedtls_ecdsa_write_signature()
Dx509write_csr.c238 unsigned char *sig, size_t sig_size, in x509write_csr_der_internal() argument
334 sig, sig_size, &sig_len, in x509write_csr_der_internal()
/mbedtls-3.5.0/include/mbedtls/
Dlms.h334 const unsigned char *sig, size_t sig_size);
444 unsigned int msg_size, unsigned char *sig, size_t sig_size,
Dpk.h576 unsigned char *sig, size_t sig_size, size_t *sig_len,
613 unsigned char *sig, size_t sig_size, size_t *sig_len,
650 unsigned char *sig, size_t sig_size, size_t *sig_len,
Decdsa.h485 unsigned char *sig, size_t sig_size, size_t *slen,
532 unsigned char *sig, size_t sig_size, size_t *slen,