Home
last modified time | relevance | path

Searched refs:aid_len (Results 1 – 10 of 10) sorted by relevance

/openssl/providers/implementations/signature/
H A Dsm2_sig.c80 size_t aid_len; member
236 ctx->aid_len = 0; in sm2sig_digest_signverify_init()
240 WPACKET_get_total_written(&pkt, &ctx->aid_len); in sm2sig_digest_signverify_init()
244 if (aid != NULL && ctx->aid_len != 0) in sm2sig_digest_signverify_init()
245 memmove(ctx->aid_buf, aid, ctx->aid_len); in sm2sig_digest_signverify_init()
410 psm2ctx->aid_len == 0 ? NULL : psm2ctx->aid_buf, in sm2sig_get_ctx_params()
411 psm2ctx->aid_len)) in sm2sig_get_ctx_params()
H A Ddsa_sig.c101 size_t aid_len; member
220 ctx->aid_len = 0; in dsa_setup_md()
225 WPACKET_get_total_written(&pkt, &ctx->aid_len); in dsa_setup_md()
229 if (aid != NULL && ctx->aid_len != 0) in dsa_setup_md()
230 memmove(ctx->aid_buf, aid, ctx->aid_len); in dsa_setup_md()
680 pdsactx->aid_len == 0 ? NULL : pdsactx->aid_buf, in dsa_get_ctx_params()
681 pdsactx->aid_len)) in dsa_get_ctx_params()
H A Decdsa_sig.c98 size_t aid_len; member
239 ctx->aid_len = 0; in ecdsa_setup_md()
244 WPACKET_get_total_written(&pkt, &ctx->aid_len); in ecdsa_setup_md()
248 if (aid != NULL && ctx->aid_len != 0) in ecdsa_setup_md()
249 memmove(ctx->aid_buf, aid, ctx->aid_len); in ecdsa_setup_md()
677 ctx->aid_len == 0 ? NULL : ctx->aid_buf, in ecdsa_get_ctx_params()
678 ctx->aid_len)) in ecdsa_get_ctx_params()
H A Deddsa_sig.c144 size_t aid_len; member
266 peddsactx->aid_len = 0; in eddsa_signverify_init()
283 WPACKET_get_total_written(&pkt, &peddsactx->aid_len); in eddsa_signverify_init()
287 if (aid != NULL && peddsactx->aid_len != 0) in eddsa_signverify_init()
288 memmove(peddsactx->aid_buf, aid, peddsactx->aid_len); in eddsa_signverify_init()
802 peddsactx->aid_len == 0 ? NULL : peddsactx->aid_buf, in eddsa_get_ctx_params()
803 peddsactx->aid_len)) in eddsa_get_ctx_params()
H A Drsa_sig.c311 size_t *aid_len) in rsa_generate_signature_aid() argument
362 WPACKET_get_total_written(&pkt, aid_len); in rsa_generate_signature_aid()
1398 size_t aid_len; in rsa_get_ctx_params() local
1401 sizeof(aid_buf), &aid_len); in rsa_get_ctx_params()
1402 if (aid == NULL || !OSSL_PARAM_set_octet_string(p, aid, aid_len)) in rsa_get_ctx_params()
/openssl/crypto/asn1/
H A Da_sign.c170 size_t aid_len = 0; in ASN1_item_sign_ctx() local
186 if ((aid_len = params[0].return_size) == 0) { in ASN1_item_sign_ctx()
194 if (d2i_X509_ALGOR(&algor1, &pp, aid_len) == NULL) { in ASN1_item_sign_ctx()
203 if (d2i_X509_ALGOR(&algor2, &pp, aid_len) == NULL) { in ASN1_item_sign_ctx()
/openssl/crypto/evp/
H A Devp_lib.c1341 size_t aid_len = 0; in EVP_CIPHER_CTX_get_algor() local
1351 aid_len = params[0].return_size; in EVP_CIPHER_CTX_get_algor()
1352 if (aid_len == 0) { in EVP_CIPHER_CTX_get_algor()
1361 if ((aid = OPENSSL_malloc(aid_len)) != NULL) { in EVP_CIPHER_CTX_get_algor()
1362 params[0] = OSSL_PARAM_construct_octet_string(k_aid, aid, aid_len); in EVP_CIPHER_CTX_get_algor()
1366 && d2i_X509_ALGOR(alg, &pp, aid_len) != NULL) in EVP_CIPHER_CTX_get_algor()
1457 size_t aid_len = 0; in EVP_PKEY_CTX_get_algor() local
1467 aid_len = params[0].return_size; in EVP_PKEY_CTX_get_algor()
1468 if (aid_len == 0) { in EVP_PKEY_CTX_get_algor()
1477 if ((aid = OPENSSL_malloc(aid_len)) != NULL) { in EVP_PKEY_CTX_get_algor()
[all …]
/openssl/crypto/cms/
H A Dcms_rsa.c202 size_t aid_len = 0; in rsa_cms_sign() local
237 if ((aid_len = params[0].return_size) == 0) in rsa_cms_sign()
239 if (d2i_X509_ALGOR(&alg, &pp, aid_len) == NULL) in rsa_cms_sign()
/openssl/crypto/rsa/
H A Drsa_ameth.c662 size_t aid_len = 0; in rsa_item_sign() local
701 if ((aid_len = params[0].return_size) == 0) in rsa_item_sign()
707 if (d2i_X509_ALGOR(&alg1, &pp, aid_len) == NULL) in rsa_item_sign()
713 if (d2i_X509_ALGOR(&alg2, &pp, aid_len) == NULL) in rsa_item_sign()
/openssl/test/
H A Dtls-provider.c2642 size_t aid_len; member
2693 ctx->aid_len = xor_get_aid(&(ctx->aid), ctx->sig->tls_name); in xor_sig_setup_md()
2694 if (ctx->aid_len <= 0) { in xor_sig_setup_md()
2979 pxor_sigctx->aid_len = xor_get_aid(&(pxor_sigctx->aid), pxor_sigctx->sig->tls_name); in xor_sig_get_ctx_params()
2982 && !OSSL_PARAM_set_octet_string(p, pxor_sigctx->aid, pxor_sigctx->aid_len)) in xor_sig_get_ctx_params()

Completed in 63 milliseconds