Lines Matching refs:out_len

360 static int ssl_sign_rsa_pkcs1(SSL *ssl, uint8_t *out, size_t *out_len,  in ssl_sign_rsa_pkcs1()  argument
365 *out_len = max_out; in ssl_sign_rsa_pkcs1()
368 EVP_DigestSignFinal(&ctx, out, out_len); in ssl_sign_rsa_pkcs1()
414 static int ssl_sign_ecdsa(SSL *ssl, uint8_t *out, size_t *out_len, in ssl_sign_ecdsa() argument
433 *out_len = max_out; in ssl_sign_ecdsa()
436 EVP_DigestSignFinal(&ctx, out, out_len); in ssl_sign_ecdsa()
483 static int ssl_sign_rsa_pss(SSL *ssl, uint8_t *out, size_t *out_len, in ssl_sign_rsa_pss() argument
488 *out_len = max_out; in ssl_sign_rsa_pss()
495 EVP_DigestSignFinal(&ctx, out, out_len); in ssl_sign_rsa_pss()
523 SSL *ssl, uint8_t *out, size_t *out_len, size_t max_out, in ssl_private_key_sign() argument
527 return ssl->cert->key_method->sign(ssl, out, out_len, max_out, in ssl_private_key_sign()
547 return ssl->cert->key_method->sign_digest(ssl, out, out_len, max_out, md, in ssl_private_key_sign()
554 return ssl_sign_rsa_pkcs1(ssl, out, out_len, max_out, md, in, in_len) in ssl_private_key_sign()
561 return ssl_sign_ecdsa(ssl, out, out_len, max_out, curve, md, in, in_len) in ssl_private_key_sign()
567 return ssl_sign_rsa_pss(ssl, out, out_len, max_out, md, in, in_len) in ssl_private_key_sign()
602 SSL *ssl, uint8_t *out, size_t *out_len, size_t max_out, in ssl_private_key_decrypt() argument
605 return ssl->cert->key_method->decrypt(ssl, out, out_len, max_out, in, in ssl_private_key_decrypt()
618 if (!RSA_decrypt(rsa, out_len, out, max_out, in, in_len, RSA_NO_PADDING)) { in ssl_private_key_decrypt()
625 size_t *out_len, in ssl_private_key_complete() argument
628 return ssl->cert->key_method->complete(ssl, out, out_len, max_out); in ssl_private_key_complete()