/mbedtls-3.5.0/library/ |
D | pk_wrap.c | 302 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 …]
|
D | lmots.h | 183 size_t sig_size, 216 size_t sig_size); 315 unsigned char *sig, size_t sig_size, size_t *sig_len);
|
D | pk_wrap.h | 55 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,
|
D | pk.c | 606 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()
|
D | lmots.c | 497 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()
|
D | lms.c | 309 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()
|
D | ecdsa.c | 622 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()
|
D | x509write_csr.c | 238 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/ |
D | lms.h | 334 const unsigned char *sig, size_t sig_size); 444 unsigned int msg_size, unsigned char *sig, size_t sig_size,
|
D | pk.h | 576 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,
|
D | ecdsa.h | 485 unsigned char *sig, size_t sig_size, size_t *slen, 532 unsigned char *sig, size_t sig_size, size_t *slen,
|