Searched refs:num_sigalgs (Results 1 – 4 of 4) sorted by relevance
252 return set_algorithm_prefs(&ctx->cert->sigalgs, &ctx->cert->num_sigalgs, in SSL_CTX_set_signing_algorithm_prefs()259 return set_algorithm_prefs(&ssl->cert->sigalgs, &ssl->cert->num_sigalgs, in SSL_set_signing_algorithm_prefs()276 ssl->cert->num_sigalgs = 0; in SSL_set_private_key_digest_prefs()290 ssl->cert->sigalgs[ssl->cert->num_sigalgs] = SSL_SIGN_RSA_PKCS1_SHA1; in SSL_set_private_key_digest_prefs()291 ssl->cert->sigalgs[ssl->cert->num_sigalgs + 1] = SSL_SIGN_ECDSA_SHA1; in SSL_set_private_key_digest_prefs()292 ssl->cert->num_sigalgs += 2; in SSL_set_private_key_digest_prefs()295 ssl->cert->sigalgs[ssl->cert->num_sigalgs] = SSL_SIGN_RSA_PKCS1_SHA256; in SSL_set_private_key_digest_prefs()296 ssl->cert->sigalgs[ssl->cert->num_sigalgs + 1] = in SSL_set_private_key_digest_prefs()298 ssl->cert->num_sigalgs += 2; in SSL_set_private_key_digest_prefs()301 ssl->cert->sigalgs[ssl->cert->num_sigalgs] = SSL_SIGN_RSA_PKCS1_SHA384; in SSL_set_private_key_digest_prefs()[all …]
517 size_t num_sigalgs = OPENSSL_ARRAY_SIZE(kVerifySignatureAlgorithms); in tls12_add_verify_sigalgs() local520 num_sigalgs = ssl->ctx->num_verify_sigalgs; in tls12_add_verify_sigalgs()523 for (size_t i = 0; i < num_sigalgs; i++) { in tls12_add_verify_sigalgs()539 size_t num_sigalgs = OPENSSL_ARRAY_SIZE(kVerifySignatureAlgorithms); in tls12_check_peer_sigalg() local542 num_sigalgs = ssl->ctx->num_verify_sigalgs; in tls12_check_peer_sigalg()545 for (size_t i = 0; i < num_sigalgs; i++) { in tls12_check_peer_sigalg()3215 size_t num_sigalgs = CBS_len(in_sigalgs); in tls1_parse_peer_sigalgs() local3216 if (num_sigalgs % 2 != 0) { in tls1_parse_peer_sigalgs()3219 num_sigalgs /= 2; in tls1_parse_peer_sigalgs()3223 if (num_sigalgs == 0) { in tls1_parse_peer_sigalgs()[all …]
172 cert->sigalgs, cert->num_sigalgs * sizeof(cert->sigalgs[0])); in ssl_cert_dup()177 ret->num_sigalgs = cert->num_sigalgs; in ssl_cert_dup()
1456 size_t num_sigalgs; in OPENSSL_MSVC_PRAGMA() member