Lines Matching refs:salglen
3139 int tls1_set_raw_sigalgs(CERT *c, const uint16_t *psigs, size_t salglen, in tls1_set_raw_sigalgs() argument
3144 if ((sigalgs = OPENSSL_malloc(salglen * sizeof(*sigalgs))) == NULL) in tls1_set_raw_sigalgs()
3146 memcpy(sigalgs, psigs, salglen * sizeof(*sigalgs)); in tls1_set_raw_sigalgs()
3151 c->client_sigalgslen = salglen; in tls1_set_raw_sigalgs()
3155 c->conf_sigalgslen = salglen; in tls1_set_raw_sigalgs()
3161 int tls1_set_sigalgs(CERT *c, const int *psig_nids, size_t salglen, int client) in tls1_set_sigalgs() argument
3166 if (salglen & 1) in tls1_set_sigalgs()
3168 if ((sigalgs = OPENSSL_malloc((salglen / 2) * sizeof(*sigalgs))) == NULL) in tls1_set_sigalgs()
3170 for (i = 0, sptr = sigalgs; i < salglen; i += 2) { in tls1_set_sigalgs()
3191 c->client_sigalgslen = salglen / 2; in tls1_set_sigalgs()
3195 c->conf_sigalgslen = salglen / 2; in tls1_set_sigalgs()