Home
last modified time | relevance | path

Searched refs:cont (Results 1 – 25 of 28) sorted by relevance

12

/openssl/providers/common/der/
H A Dder_ecx_key.c14 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 Dder_ec_key.c14 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 Dder_sm2_key.c15 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 Dder_sm2_sig.c23 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 Dder_ec_sig.c27 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 Dx_long.c24 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 Dx_bignum.c28 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 Dx_int64.c49 static int uint64_i2c(const ASN1_VALUE **pval, unsigned char *cont, int *putype, in uint64_i2c() argument
70 return ossl_i2c_uint64_int(cont, utmp, neg); in uint64_i2c()
73 static int uint64_c2i(ASN1_VALUE **pval, const unsigned char *cont, int len, in uint64_c2i() argument
94 if (!ossl_c2i_uint64_int(&utmp, &neg, &cont, len)) in uint64_c2i()
144 static int uint32_i2c(const ASN1_VALUE **pval, unsigned char *cont, int *putype, in uint32_i2c() argument
165 return ossl_i2c_uint64_int(cont, (uint64_t)utmp, neg); in uint32_i2c()
175 static int uint32_c2i(ASN1_VALUE **pval, const unsigned char *cont, int len, in uint32_c2i() argument
197 if (!ossl_c2i_uint64_int(&utmp, &neg, &cont, len)) in uint32_c2i()
H A Dtasn_dec.c708 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 Dtasn_enc.c535 const unsigned char *cont; in asn1_ex_i2c() local
568 cont = otmp->data; in asn1_ex_i2c()
570 if (cont == NULL || len == 0) in asn1_ex_i2c()
575 cont = NULL; in asn1_ex_i2c()
593 cont = &c; in asn1_ex_i2c()
637 cont = strtmp->data; in asn1_ex_i2c()
644 memcpy(cout, cont, len); in asn1_ex_i2c()
/openssl/crypto/cms/
H A Dcms_smime.c106 BIO *cont; in CMS_data() local
114 if (cont == NULL) in CMS_data()
117 BIO_free_all(cont); in CMS_data()
144 BIO *cont; in CMS_digest_verify() local
156 if (cont == NULL) in CMS_digest_verify()
202 BIO *cont; in CMS_EncryptedData_decrypt() local
216 if (cont == NULL) in CMS_EncryptedData_decrypt()
845 BIO *cont; in CMS_decrypt() local
869 if (cont == NULL) in CMS_decrypt()
936 BIO *cont; in CMS_uncompress() local
[all …]
H A Dcms_lib.c154 BIO *cmsbio, *cont; in CMS_dataInit() local
156 cont = icont; in CMS_dataInit()
158 cont = ossl_cms_content_bio(cms); in CMS_dataInit()
159 if (!cont) { in CMS_dataInit()
166 return cont; in CMS_dataInit()
199 return BIO_push(cmsbio, cont); in CMS_dataInit()
202 BIO_free(cont); in CMS_dataInit()
224 unsigned char *cont; in ossl_cms_DataFinal() local
231 contlen = BIO_get_mem_data(mbio, &cont); in ossl_cms_DataFinal()
235 ASN1_STRING_set0(*pos, cont, contlen); in ossl_cms_DataFinal()
/openssl/providers/common/include/prov/
H A Dder_ecx.h.in22 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 Dder_sm2.h.in23 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 Dder_ec.h.in23 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 Dsmver.c17 BIO *in = NULL, *out = NULL, *tbio = NULL, *cont = NULL; in main() local
55 p7 = SMIME_read_PKCS7(in, &cont); in main()
65 if (!PKCS7_verify(p7, NULL, st, cont, out, 0)) { in main()
/openssl/demos/cms/
H A Dcms_ver.c17 BIO *in = NULL, *out = NULL, *tbio = NULL, *cont = NULL; in main() local
55 cms = SMIME_read_CMS(in, &cont); in main()
65 if (!CMS_verify(cms, NULL, st, cont, out, 0)) { in main()
/openssl/crypto/evp/
H A Dbio_ok.c103 int cont; /* <= 0 when finished */ member
140 ctx->cont = 1; in ok_new()
246 if (ctx->cont <= 0) in ok_read()
283 ctx->cont = 0; in ok_write()
339 ctx->cont = 1; in ok_ctrl()
346 if (ctx->cont <= 0) in ok_ctrl()
373 ctx->cont = (int)ret; in ok_ctrl()
384 ret = (long)ctx->cont; in ok_ctrl()
517 ctx->cont = 0; in sig_in()
595 ctx->cont = 0; in block_in()
H A Dbio_enc.c32 int cont; /* <= 0 when finished */ member
78 ctx->cont = 1; in enc_new()
146 if (ctx->cont <= 0) in enc_read()
161 ctx->cont = i; in enc_read()
205 ctx->cont = 1; in enc_read()
231 return ((ret == 0) ? ctx->cont : ret); in enc_read()
318 if (ctx->cont <= 0) in enc_ctrl()
H A Dbio_b64.c40 int cont; /* <= 0 when finished */ member
75 ctx->cont = 1; in b64_new()
158 if (ctx->cont <= 0) in b64_read()
169 ctx->cont = i; in b64_read()
247 } else if (i < B64_BLOCK_SIZE && ctx->cont > 0) { in b64_read()
290 ctx->cont = i; in b64_read()
450 ctx->cont = 1; in b64_ctrl()
456 if (ctx->cont <= 0) in b64_ctrl()
/openssl/doc/man3/
H A DSMIME_read_PKCS7.pod44 BIO *cont = NULL;
47 p7 = SMIME_read_PKCS7(in, &cont);
H A DSMIME_read_CMS.pod47 BIO *cont = NULL;
50 cms = SMIME_read_CMS(in, &cont);
/openssl/crypto/bn/asm/
H A Dia64.S1403 #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/providers/implementations/signature/
H A Drsa_sig.c1228 goto cont; in rsa_set_ctx_params()
1231 goto cont; in rsa_set_ctx_params()
1234 cont: in rsa_set_ctx_params()
/openssl/crypto/pkcs7/
H A Dpk7_doit.c875 char *cont; in PKCS7_dataFinal() local
882 contlen = BIO_get_mem_data(btmp, &cont); in PKCS7_dataFinal()
889 ASN1_STRING_set0(os, (unsigned char *)cont, contlen); in PKCS7_dataFinal()

Completed in 59 milliseconds

12