/openssl/providers/common/der/ |
H A D | der_ecx_key.c | 14 int ossl_DER_w_algorithmIdentifier_X25519(WPACKET *pkt, int cont, ECX_KEY *ec) in ossl_DER_w_algorithmIdentifier_X25519() argument 16 return ossl_DER_w_begin_sequence(pkt, cont) in ossl_DER_w_algorithmIdentifier_X25519() 20 && ossl_DER_w_end_sequence(pkt, cont); in ossl_DER_w_algorithmIdentifier_X25519() 23 int ossl_DER_w_algorithmIdentifier_X448(WPACKET *pkt, int cont, ECX_KEY *ec) in ossl_DER_w_algorithmIdentifier_X448() argument 25 return ossl_DER_w_begin_sequence(pkt, cont) in ossl_DER_w_algorithmIdentifier_X448() 29 && ossl_DER_w_end_sequence(pkt, cont); in ossl_DER_w_algorithmIdentifier_X448() 34 return ossl_DER_w_begin_sequence(pkt, cont) in ossl_DER_w_algorithmIdentifier_ED25519() 38 && ossl_DER_w_end_sequence(pkt, cont); in ossl_DER_w_algorithmIdentifier_ED25519() 41 int ossl_DER_w_algorithmIdentifier_ED448(WPACKET *pkt, int cont, ECX_KEY *ec) in ossl_DER_w_algorithmIdentifier_ED448() argument 43 return ossl_DER_w_begin_sequence(pkt, cont) in ossl_DER_w_algorithmIdentifier_ED448() [all …]
|
H A D | der_ec_key.c | 14 int ossl_DER_w_algorithmIdentifier_EC(WPACKET *pkt, int cont, EC_KEY *ec) in ossl_DER_w_algorithmIdentifier_EC() argument 16 return ossl_DER_w_begin_sequence(pkt, cont) in ossl_DER_w_algorithmIdentifier_EC() 20 && ossl_DER_w_end_sequence(pkt, cont); in ossl_DER_w_algorithmIdentifier_EC()
|
H A D | der_sm2_key.c | 15 int ossl_DER_w_algorithmIdentifier_SM2(WPACKET *pkt, int cont, EC_KEY *ec) in ossl_DER_w_algorithmIdentifier_SM2() argument 17 return ossl_DER_w_begin_sequence(pkt, cont) in ossl_DER_w_algorithmIdentifier_SM2() 22 && ossl_DER_w_end_sequence(pkt, cont); in ossl_DER_w_algorithmIdentifier_SM2()
|
H A D | der_sm2_sig.c | 23 int ossl_DER_w_algorithmIdentifier_SM2_with_MD(WPACKET *pkt, int cont, in ossl_DER_w_algorithmIdentifier_SM2_with_MD() argument 35 return ossl_DER_w_begin_sequence(pkt, cont) in ossl_DER_w_algorithmIdentifier_SM2_with_MD() 38 && ossl_DER_w_end_sequence(pkt, cont); in ossl_DER_w_algorithmIdentifier_SM2_with_MD()
|
H A D | der_ec_sig.c | 27 int ossl_DER_w_algorithmIdentifier_ECDSA_with_MD(WPACKET *pkt, int cont, in ossl_DER_w_algorithmIdentifier_ECDSA_with_MD() argument 47 return ossl_DER_w_begin_sequence(pkt, cont) in ossl_DER_w_algorithmIdentifier_ECDSA_with_MD() 50 && ossl_DER_w_end_sequence(pkt, cont); in ossl_DER_w_algorithmIdentifier_ECDSA_with_MD()
|
/openssl/crypto/asn1/ |
H A D | x_long.c | 24 static int long_i2c(const ASN1_VALUE **pval, unsigned char *cont, int *putype, 26 static int long_c2i(ASN1_VALUE **pval, const unsigned char *cont, int len, 117 if (cont != NULL) { in long_i2c() 119 *cont++ = (unsigned char)sign; in long_i2c() 121 cont[i] = (unsigned char)(utmp ^ sign); in long_i2c() 141 switch (cont[0]) { in long_c2i() 143 cont++; in long_c2i() 148 cont++; in long_c2i() 161 if (len && (cont[0] & 0x80)) in long_c2i() 165 } else if (((sign ^ cont[0]) & 0x80) == 0) { /* same sign bit? */ in long_c2i() [all …]
|
H A D | x_bignum.c | 28 static int bn_i2c(const ASN1_VALUE **pval, unsigned char *cont, int *putype, 30 static int bn_c2i(ASN1_VALUE **pval, const unsigned char *cont, int len, 32 static int bn_secure_c2i(ASN1_VALUE **pval, const unsigned char *cont, int len, 94 static int bn_i2c(const ASN1_VALUE **pval, unsigned char *cont, int *putype, in bn_i2c() argument 107 if (cont) { in bn_i2c() 109 *cont++ = 0; in bn_i2c() 110 BN_bn2bin(bn, cont); in bn_i2c() 115 static int bn_c2i(ASN1_VALUE **pval, const unsigned char *cont, int len, in bn_c2i() argument 123 if (!BN_bin2bn(cont, len, bn)) { in bn_c2i() 130 static int bn_secure_c2i(ASN1_VALUE **pval, const unsigned char *cont, int len, in bn_secure_c2i() argument [all …]
|
H A D | x_int64.c | 47 static int uint64_i2c(const ASN1_VALUE **pval, unsigned char *cont, int *putype, in uint64_i2c() argument 68 return ossl_i2c_uint64_int(cont, utmp, neg); in uint64_i2c() 71 static int uint64_c2i(ASN1_VALUE **pval, const unsigned char *cont, int len, in uint64_c2i() argument 92 if (!ossl_c2i_uint64_int(&utmp, &neg, &cont, len)) in uint64_c2i() 140 static int uint32_i2c(const ASN1_VALUE **pval, unsigned char *cont, int *putype, in uint32_i2c() argument 161 return ossl_i2c_uint64_int(cont, (uint64_t)utmp, neg); in uint32_i2c() 171 static int uint32_c2i(ASN1_VALUE **pval, const unsigned char *cont, int len, in uint32_c2i() argument 193 if (!ossl_c2i_uint64_int(&utmp, &neg, &cont, len)) in uint32_c2i()
|
H A D | tasn_dec.c | 708 const unsigned char *cont = NULL; in asn1_d2i_ex_primitive() local 773 cont = *in; in asn1_d2i_ex_primitive() 778 len = p - cont; in asn1_d2i_ex_primitive() 780 len = p - cont + plen; in asn1_d2i_ex_primitive() 809 cont = (const unsigned char *)buf.data; in asn1_d2i_ex_primitive() 811 cont = p; in asn1_d2i_ex_primitive() 818 if (!asn1_ex_c2i(pval, cont, len, utype, &free_cont, it)) in asn1_d2i_ex_primitive() 843 return pf->prim_c2i(pval, cont, len, utype, free_cont, it); in asn1_ex_c2i() 880 *tbool = *cont; in asn1_ex_c2i() 892 if (!ossl_c2i_ASN1_INTEGER(tint, &cont, len)) in asn1_ex_c2i() [all …]
|
H A D | tasn_enc.c | 529 const unsigned char *cont; in asn1_ex_i2c() local 562 cont = otmp->data; in asn1_ex_i2c() 564 if (cont == NULL || len == 0) in asn1_ex_i2c() 569 cont = NULL; in asn1_ex_i2c() 587 cont = &c; in asn1_ex_i2c() 631 cont = strtmp->data; in asn1_ex_i2c() 638 memcpy(cout, cont, len); in asn1_ex_i2c()
|
/openssl/crypto/cms/ |
H A D | cms_smime.c | 107 BIO *cont; in CMS_data() local 115 if (cont == NULL) in CMS_data() 118 BIO_free_all(cont); in CMS_data() 145 BIO *cont; in CMS_digest_verify() local 157 if (cont == NULL) in CMS_digest_verify() 203 BIO *cont; in CMS_EncryptedData_decrypt() local 217 if (cont == NULL) in CMS_EncryptedData_decrypt() 874 BIO *cont; in CMS_decrypt() local 893 if (cont == NULL) in CMS_decrypt() 960 BIO *cont; in CMS_uncompress() local [all …]
|
H A D | cms_lib.c | 144 BIO *cmsbio, *cont; in CMS_dataInit() local 146 cont = icont; in CMS_dataInit() 148 cont = ossl_cms_content_bio(cms); in CMS_dataInit() 149 if (!cont) { in CMS_dataInit() 156 return cont; in CMS_dataInit() 189 return BIO_push(cmsbio, cont); in CMS_dataInit() 192 BIO_free(cont); in CMS_dataInit() 214 unsigned char *cont; in ossl_cms_DataFinal() local 221 contlen = BIO_get_mem_data(mbio, &cont); in ossl_cms_DataFinal() 225 ASN1_STRING_set0(*pos, cont, contlen); in ossl_cms_DataFinal()
|
/openssl/providers/common/include/prov/ |
H A D | der_ecx.h.in | 22 int ossl_DER_w_algorithmIdentifier_ED25519(WPACKET *pkt, int cont, ECX_KEY *ec); 23 int ossl_DER_w_algorithmIdentifier_ED448(WPACKET *pkt, int cont, ECX_KEY *ec); 24 int ossl_DER_w_algorithmIdentifier_X25519(WPACKET *pkt, int cont, ECX_KEY *ec); 25 int ossl_DER_w_algorithmIdentifier_X448(WPACKET *pkt, int cont, ECX_KEY *ec);
|
H A D | der_sm2.h.in | 23 int ossl_DER_w_algorithmIdentifier_SM2(WPACKET *pkt, int cont, EC_KEY *ec); 25 int ossl_DER_w_algorithmIdentifier_SM2_with_MD(WPACKET *pkt, int cont,
|
H A D | der_ec.h.in | 23 int ossl_DER_w_algorithmIdentifier_EC(WPACKET *pkt, int cont, EC_KEY *ec); 25 int ossl_DER_w_algorithmIdentifier_ECDSA_with_MD(WPACKET *pkt, int cont,
|
/openssl/demos/smime/ |
H A D | smver.c | 17 BIO *in = NULL, *out = NULL, *tbio = NULL, *cont = NULL; in main() local 54 p7 = SMIME_read_PKCS7(in, &cont); in main() 64 if (!PKCS7_verify(p7, NULL, st, cont, out, 0)) { in main()
|
/openssl/crypto/evp/ |
H A D | bio_ok.c | 103 int cont; /* <= 0 when finished */ member 138 ctx->cont = 1; in ok_new() 244 if (ctx->cont <= 0) in ok_read() 281 ctx->cont = 0; in ok_write() 337 ctx->cont = 1; in ok_ctrl() 344 if (ctx->cont <= 0) in ok_ctrl() 371 ctx->cont = (int)ret; in ok_ctrl() 383 ret = (long)ctx->cont; in ok_ctrl() 518 ctx->cont = 0; in sig_in() 598 ctx->cont = 0; in block_in()
|
H A D | bio_b64.c | 40 int cont; /* <= 0 when finished */ member 73 ctx->cont = 1; in b64_new() 158 ret_code = ctx->cont < 0 ? ctx->cont : 0; in b64_read() 165 int again = ctx->cont; in b64_read() 184 ctx->cont = ret_code; in b64_read() 288 ctx->cont = i; in b64_read() 448 ctx->cont = 1; in b64_ctrl() 454 if (ctx->cont <= 0) in b64_ctrl()
|
H A D | bio_enc.c | 32 int cont; /* <= 0 when finished */ member 76 ctx->cont = 1; in enc_new() 148 if (ctx->cont <= 0) in enc_read() 163 ctx->cont = i; in enc_read() 207 ctx->cont = 1; in enc_read() 233 return ((ret == 0) ? ctx->cont : ret); in enc_read() 321 if (ctx->cont <= 0) in enc_ctrl()
|
/openssl/demos/cms/ |
H A D | cms_ver.c | 60 BIO *in = NULL, *out = NULL, *tbio = NULL, *cont = NULL; in main() local 97 cms = SMIME_read_CMS(in, &cont); in main() 109 if (!CMS_verify(cms, NULL, st, cont, out, 0)) { in main()
|
/openssl/doc/man3/ |
H A D | SMIME_read_PKCS7.pod | 44 BIO *cont = NULL; 47 p7 = SMIME_read_PKCS7(in, &cont);
|
H A D | SMIME_read_CMS.pod | 47 BIO *cont = NULL; 50 cms = SMIME_read_CMS(in, &cont);
|
/openssl/crypto/bn/asm/ |
H A D | ia64.S | 1403 #define cont p16 1407 cont=p16 1483 (p0) cmp.eq equ,cont=HH,r31 };; 1486 (equ) cmp.leu break,cont=r35,H };; 1487 { .mib; (cont) cmp.leu cont,break=HH,r31 1489 (cont) br.wtop.spnt .L_divw_1st_iter };; 1513 (p0) cmp.eq equ,cont=HH,r31 };; 1516 (equ) cmp.leu break,cont=r35,H };; 1517 { .mib; (cont) cmp.leu cont,break=HH,r31 1519 (cont) br.wtop.spnt .L_divw_2nd_iter };;
|
/openssl/crypto/pkcs7/ |
H A D | pk7_doit.c | 923 char *cont; in PKCS7_dataFinal() local 930 contlen = BIO_get_mem_data(btmp, &cont); in PKCS7_dataFinal() 937 ASN1_STRING_set0(os, (unsigned char *)cont, contlen); in PKCS7_dataFinal()
|
/openssl/providers/implementations/signature/ |
H A D | rsa_sig.c | 1632 goto cont; in rsa_set_ctx_params() 1635 goto cont; in rsa_set_ctx_params() 1648 cont: in rsa_set_ctx_params()
|