Home
last modified time | relevance | path

Searched refs:num_sigalgs (Results 1 – 7 of 7) sorted by relevance

/external/boringssl/src/ssl/
Dssl_privkey.c227 cert->num_sigalgs = 0; in set_signing_algorithm_prefs()
233 cert->num_sigalgs = num_prefs; in set_signing_algorithm_prefs()
256 ssl->cert->num_sigalgs = 0; in SSL_set_private_key_digest_prefs()
269 ssl->cert->sigalgs[ssl->cert->num_sigalgs] = SSL_SIGN_RSA_PKCS1_SHA1; in SSL_set_private_key_digest_prefs()
270 ssl->cert->sigalgs[ssl->cert->num_sigalgs + 1] = SSL_SIGN_ECDSA_SHA1; in SSL_set_private_key_digest_prefs()
271 ssl->cert->num_sigalgs += 2; in SSL_set_private_key_digest_prefs()
274 ssl->cert->sigalgs[ssl->cert->num_sigalgs] = SSL_SIGN_RSA_PKCS1_SHA256; in SSL_set_private_key_digest_prefs()
275 ssl->cert->sigalgs[ssl->cert->num_sigalgs + 1] = in SSL_set_private_key_digest_prefs()
277 ssl->cert->num_sigalgs += 2; in SSL_set_private_key_digest_prefs()
280 ssl->cert->sigalgs[ssl->cert->num_sigalgs] = SSL_SIGN_RSA_PKCS1_SHA384; in SSL_set_private_key_digest_prefs()
[all …]
Dt1_lib.c1035 const size_t num_sigalgs = tls12_get_verify_sigalgs(ssl, &sigalgs); in ext_sigalgs_add_clienthello() local
1044 for (size_t i = 0; i < num_sigalgs; i++) { in ext_sigalgs_add_clienthello()
3274 size_t num_sigalgs = CBS_len(in_sigalgs); in tls1_parse_peer_sigalgs() local
3275 if (num_sigalgs % 2 != 0) { in tls1_parse_peer_sigalgs()
3278 num_sigalgs /= 2; in tls1_parse_peer_sigalgs()
3282 if (num_sigalgs == 0) { in tls1_parse_peer_sigalgs()
3288 hs->peer_sigalgs = OPENSSL_malloc(num_sigalgs * sizeof(uint16_t)); in tls1_parse_peer_sigalgs()
3292 hs->num_peer_sigalgs = num_sigalgs; in tls1_parse_peer_sigalgs()
3296 for (size_t i = 0; i < num_sigalgs; i++) { in tls1_parse_peer_sigalgs()
3326 size_t num_sigalgs = cert->num_sigalgs; in tls1_choose_signature_algorithm() local
[all …]
Dssl_cert.c182 BUF_memdup(cert->sigalgs, cert->num_sigalgs * sizeof(cert->sigalgs[0])); in ssl_cert_dup()
187 ret->num_sigalgs = cert->num_sigalgs; in ssl_cert_dup()
Dtls13_server.c563 size_t num_sigalgs = tls12_get_verify_sigalgs(ssl, &sigalgs); in do_send_server_hello() local
568 for (size_t i = 0; i < num_sigalgs; i++) { in do_send_server_hello()
Dhandshake_server.c1367 size_t num_sigalgs = tls12_get_verify_sigalgs(ssl, &sigalgs); in ssl3_send_certificate_request() local
1372 for (size_t i = 0; i < num_sigalgs; i++) { in ssl3_send_certificate_request()
Dhandshake_client.c555 size_t num_sigalgs = tls12_get_verify_sigalgs(ssl, &sigalgs); in ssl_get_client_disabled() local
556 for (size_t i = 0; i < num_sigalgs; i++) { in ssl_get_client_disabled()
Dinternal.h1349 size_t num_sigalgs; in OPENSSL_MSVC_PRAGMA() member