/external/openssl/crypto/x509/ |
D | x509_ext.c | 74 int X509_CRL_get_ext_by_NID(X509_CRL *x, int nid, int lastpos) in X509_CRL_get_ext_by_NID() argument 76 return(X509v3_get_ext_by_NID(x->crl->extensions,nid,lastpos)); in X509_CRL_get_ext_by_NID() 79 int X509_CRL_get_ext_by_OBJ(X509_CRL *x, ASN1_OBJECT *obj, int lastpos) in X509_CRL_get_ext_by_OBJ() argument 81 return(X509v3_get_ext_by_OBJ(x->crl->extensions,obj,lastpos)); in X509_CRL_get_ext_by_OBJ() 84 int X509_CRL_get_ext_by_critical(X509_CRL *x, int crit, int lastpos) in X509_CRL_get_ext_by_critical() argument 86 return(X509v3_get_ext_by_critical(x->crl->extensions,crit,lastpos)); in X509_CRL_get_ext_by_critical() 120 int X509_get_ext_by_NID(X509 *x, int nid, int lastpos) in X509_get_ext_by_NID() argument 122 return(X509v3_get_ext_by_NID(x->cert_info->extensions,nid,lastpos)); in X509_get_ext_by_NID() 125 int X509_get_ext_by_OBJ(X509 *x, ASN1_OBJECT *obj, int lastpos) in X509_get_ext_by_OBJ() argument 127 return(X509v3_get_ext_by_OBJ(x->cert_info->extensions,obj,lastpos)); in X509_get_ext_by_OBJ() [all …]
|
D | x509_v3.c | 75 int lastpos) in X509v3_get_ext_by_NID() argument 81 return(X509v3_get_ext_by_OBJ(x,obj,lastpos)); in X509v3_get_ext_by_NID() 85 int lastpos) in X509v3_get_ext_by_OBJ() argument 91 lastpos++; in X509v3_get_ext_by_OBJ() 92 if (lastpos < 0) in X509v3_get_ext_by_OBJ() 93 lastpos=0; in X509v3_get_ext_by_OBJ() 95 for ( ; lastpos < n; lastpos++) in X509v3_get_ext_by_OBJ() 97 ex=sk_X509_EXTENSION_value(sk,lastpos); in X509v3_get_ext_by_OBJ() 99 return(lastpos); in X509v3_get_ext_by_OBJ() 105 int lastpos) in X509v3_get_ext_by_critical() argument [all …]
|
D | x509_att.c | 74 int lastpos) in X509at_get_attr_by_NID() argument 80 return(X509at_get_attr_by_OBJ(x,obj,lastpos)); in X509at_get_attr_by_NID() 84 int lastpos) in X509at_get_attr_by_OBJ() argument 90 lastpos++; in X509at_get_attr_by_OBJ() 91 if (lastpos < 0) in X509at_get_attr_by_OBJ() 92 lastpos=0; in X509at_get_attr_by_OBJ() 94 for ( ; lastpos < n; lastpos++) in X509at_get_attr_by_OBJ() 96 ex=sk_X509_ATTRIBUTE_value(sk,lastpos); in X509at_get_attr_by_OBJ() 98 return(lastpos); in X509at_get_attr_by_OBJ() 196 ASN1_OBJECT *obj, int lastpos, int type) in X509at_get0_data_by_OBJ() argument [all …]
|
D | x509name.c | 98 int X509_NAME_get_index_by_NID(X509_NAME *name, int nid, int lastpos) in X509_NAME_get_index_by_NID() argument 104 return(X509_NAME_get_index_by_OBJ(name,obj,lastpos)); in X509_NAME_get_index_by_NID() 109 int lastpos) in X509_NAME_get_index_by_OBJ() argument 116 if (lastpos < 0) in X509_NAME_get_index_by_OBJ() 117 lastpos= -1; in X509_NAME_get_index_by_OBJ() 120 for (lastpos++; lastpos < n; lastpos++) in X509_NAME_get_index_by_OBJ() 122 ne=sk_X509_NAME_ENTRY_value(sk,lastpos); in X509_NAME_get_index_by_OBJ() 124 return(lastpos); in X509_NAME_get_index_by_OBJ()
|
D | x509.h | 936 int lastpos); 938 int lastpos); 1014 int X509_NAME_get_index_by_NID(X509_NAME *name,int nid,int lastpos); 1016 int lastpos); 1043 int nid, int lastpos); 1045 ASN1_OBJECT *obj,int lastpos); 1047 int crit, int lastpos); 1054 int X509_get_ext_by_NID(X509 *x, int nid, int lastpos); 1055 int X509_get_ext_by_OBJ(X509 *x,ASN1_OBJECT *obj,int lastpos); 1056 int X509_get_ext_by_critical(X509 *x, int crit, int lastpos); [all …]
|
/external/chromium_org/third_party/openssl/openssl/crypto/x509/ |
D | x509_ext.c | 74 int X509_CRL_get_ext_by_NID(X509_CRL *x, int nid, int lastpos) in X509_CRL_get_ext_by_NID() argument 76 return(X509v3_get_ext_by_NID(x->crl->extensions,nid,lastpos)); in X509_CRL_get_ext_by_NID() 79 int X509_CRL_get_ext_by_OBJ(X509_CRL *x, ASN1_OBJECT *obj, int lastpos) in X509_CRL_get_ext_by_OBJ() argument 81 return(X509v3_get_ext_by_OBJ(x->crl->extensions,obj,lastpos)); in X509_CRL_get_ext_by_OBJ() 84 int X509_CRL_get_ext_by_critical(X509_CRL *x, int crit, int lastpos) in X509_CRL_get_ext_by_critical() argument 86 return(X509v3_get_ext_by_critical(x->crl->extensions,crit,lastpos)); in X509_CRL_get_ext_by_critical() 120 int X509_get_ext_by_NID(X509 *x, int nid, int lastpos) in X509_get_ext_by_NID() argument 122 return(X509v3_get_ext_by_NID(x->cert_info->extensions,nid,lastpos)); in X509_get_ext_by_NID() 125 int X509_get_ext_by_OBJ(X509 *x, ASN1_OBJECT *obj, int lastpos) in X509_get_ext_by_OBJ() argument 127 return(X509v3_get_ext_by_OBJ(x->cert_info->extensions,obj,lastpos)); in X509_get_ext_by_OBJ() [all …]
|
D | x509_v3.c | 75 int lastpos) in X509v3_get_ext_by_NID() argument 81 return(X509v3_get_ext_by_OBJ(x,obj,lastpos)); in X509v3_get_ext_by_NID() 85 int lastpos) in X509v3_get_ext_by_OBJ() argument 91 lastpos++; in X509v3_get_ext_by_OBJ() 92 if (lastpos < 0) in X509v3_get_ext_by_OBJ() 93 lastpos=0; in X509v3_get_ext_by_OBJ() 95 for ( ; lastpos < n; lastpos++) in X509v3_get_ext_by_OBJ() 97 ex=sk_X509_EXTENSION_value(sk,lastpos); in X509v3_get_ext_by_OBJ() 99 return(lastpos); in X509v3_get_ext_by_OBJ() 105 int lastpos) in X509v3_get_ext_by_critical() argument [all …]
|
D | x509_att.c | 74 int lastpos) in X509at_get_attr_by_NID() argument 80 return(X509at_get_attr_by_OBJ(x,obj,lastpos)); in X509at_get_attr_by_NID() 84 int lastpos) in X509at_get_attr_by_OBJ() argument 90 lastpos++; in X509at_get_attr_by_OBJ() 91 if (lastpos < 0) in X509at_get_attr_by_OBJ() 92 lastpos=0; in X509at_get_attr_by_OBJ() 94 for ( ; lastpos < n; lastpos++) in X509at_get_attr_by_OBJ() 96 ex=sk_X509_ATTRIBUTE_value(sk,lastpos); in X509at_get_attr_by_OBJ() 98 return(lastpos); in X509at_get_attr_by_OBJ() 196 ASN1_OBJECT *obj, int lastpos, int type) in X509at_get0_data_by_OBJ() argument [all …]
|
D | x509name.c | 98 int X509_NAME_get_index_by_NID(X509_NAME *name, int nid, int lastpos) in X509_NAME_get_index_by_NID() argument 104 return(X509_NAME_get_index_by_OBJ(name,obj,lastpos)); in X509_NAME_get_index_by_NID() 109 int lastpos) in X509_NAME_get_index_by_OBJ() argument 116 if (lastpos < 0) in X509_NAME_get_index_by_OBJ() 117 lastpos= -1; in X509_NAME_get_index_by_OBJ() 120 for (lastpos++; lastpos < n; lastpos++) in X509_NAME_get_index_by_OBJ() 122 ne=sk_X509_NAME_ENTRY_value(sk,lastpos); in X509_NAME_get_index_by_OBJ() 124 return(lastpos); in X509_NAME_get_index_by_OBJ()
|
D | x509.h | 936 int lastpos); 938 int lastpos); 1014 int X509_NAME_get_index_by_NID(X509_NAME *name,int nid,int lastpos); 1016 int lastpos); 1043 int nid, int lastpos); 1045 ASN1_OBJECT *obj,int lastpos); 1047 int crit, int lastpos); 1054 int X509_get_ext_by_NID(X509 *x, int nid, int lastpos); 1055 int X509_get_ext_by_OBJ(X509 *x,ASN1_OBJECT *obj,int lastpos); 1056 int X509_get_ext_by_critical(X509 *x, int crit, int lastpos); [all …]
|
/external/openssl/crypto/cms/ |
D | cms_att.c | 69 int lastpos) in CMS_signed_get_attr_by_NID() argument 71 return X509at_get_attr_by_NID(si->signedAttrs, nid, lastpos); in CMS_signed_get_attr_by_NID() 75 int lastpos) in CMS_signed_get_attr_by_OBJ() argument 77 return X509at_get_attr_by_OBJ(si->signedAttrs, obj, lastpos); in CMS_signed_get_attr_by_OBJ() 124 int lastpos, int type) in CMS_signed_get0_data_by_OBJ() argument 126 return X509at_get0_data_by_OBJ(si->signedAttrs, oid, lastpos, type); in CMS_signed_get0_data_by_OBJ() 135 int lastpos) in CMS_unsigned_get_attr_by_NID() argument 137 return X509at_get_attr_by_NID(si->unsignedAttrs, nid, lastpos); in CMS_unsigned_get_attr_by_NID() 141 int lastpos) in CMS_unsigned_get_attr_by_OBJ() argument 143 return X509at_get_attr_by_OBJ(si->unsignedAttrs, obj, lastpos); in CMS_unsigned_get_attr_by_OBJ() [all …]
|
/external/chromium_org/third_party/openssl/openssl/crypto/ocsp/ |
D | ocsp_ext.c | 81 int OCSP_REQUEST_get_ext_by_NID(OCSP_REQUEST *x, int nid, int lastpos) in OCSP_REQUEST_get_ext_by_NID() argument 83 return(X509v3_get_ext_by_NID(x->tbsRequest->requestExtensions,nid,lastpos)); in OCSP_REQUEST_get_ext_by_NID() 86 int OCSP_REQUEST_get_ext_by_OBJ(OCSP_REQUEST *x, ASN1_OBJECT *obj, int lastpos) in OCSP_REQUEST_get_ext_by_OBJ() argument 88 return(X509v3_get_ext_by_OBJ(x->tbsRequest->requestExtensions,obj,lastpos)); in OCSP_REQUEST_get_ext_by_OBJ() 91 int OCSP_REQUEST_get_ext_by_critical(OCSP_REQUEST *x, int crit, int lastpos) in OCSP_REQUEST_get_ext_by_critical() argument 93 return(X509v3_get_ext_by_critical(x->tbsRequest->requestExtensions,crit,lastpos)); in OCSP_REQUEST_get_ext_by_critical() 129 int OCSP_ONEREQ_get_ext_by_NID(OCSP_ONEREQ *x, int nid, int lastpos) in OCSP_ONEREQ_get_ext_by_NID() argument 131 return(X509v3_get_ext_by_NID(x->singleRequestExtensions,nid,lastpos)); in OCSP_ONEREQ_get_ext_by_NID() 134 int OCSP_ONEREQ_get_ext_by_OBJ(OCSP_ONEREQ *x, ASN1_OBJECT *obj, int lastpos) in OCSP_ONEREQ_get_ext_by_OBJ() argument 136 return(X509v3_get_ext_by_OBJ(x->singleRequestExtensions,obj,lastpos)); in OCSP_ONEREQ_get_ext_by_OBJ() [all …]
|
D | ocsp.h | 490 int OCSP_REQUEST_get_ext_by_NID(OCSP_REQUEST *x, int nid, int lastpos); 491 int OCSP_REQUEST_get_ext_by_OBJ(OCSP_REQUEST *x, ASN1_OBJECT *obj, int lastpos); 492 int OCSP_REQUEST_get_ext_by_critical(OCSP_REQUEST *x, int crit, int lastpos); 501 int OCSP_ONEREQ_get_ext_by_NID(OCSP_ONEREQ *x, int nid, int lastpos); 502 int OCSP_ONEREQ_get_ext_by_OBJ(OCSP_ONEREQ *x, ASN1_OBJECT *obj, int lastpos); 503 int OCSP_ONEREQ_get_ext_by_critical(OCSP_ONEREQ *x, int crit, int lastpos); 512 int OCSP_BASICRESP_get_ext_by_NID(OCSP_BASICRESP *x, int nid, int lastpos); 513 int OCSP_BASICRESP_get_ext_by_OBJ(OCSP_BASICRESP *x, ASN1_OBJECT *obj, int lastpos); 514 int OCSP_BASICRESP_get_ext_by_critical(OCSP_BASICRESP *x, int crit, int lastpos); 523 int OCSP_SINGLERESP_get_ext_by_NID(OCSP_SINGLERESP *x, int nid, int lastpos); [all …]
|
/external/openssl/crypto/ocsp/ |
D | ocsp_ext.c | 81 int OCSP_REQUEST_get_ext_by_NID(OCSP_REQUEST *x, int nid, int lastpos) in OCSP_REQUEST_get_ext_by_NID() argument 83 return(X509v3_get_ext_by_NID(x->tbsRequest->requestExtensions,nid,lastpos)); in OCSP_REQUEST_get_ext_by_NID() 86 int OCSP_REQUEST_get_ext_by_OBJ(OCSP_REQUEST *x, ASN1_OBJECT *obj, int lastpos) in OCSP_REQUEST_get_ext_by_OBJ() argument 88 return(X509v3_get_ext_by_OBJ(x->tbsRequest->requestExtensions,obj,lastpos)); in OCSP_REQUEST_get_ext_by_OBJ() 91 int OCSP_REQUEST_get_ext_by_critical(OCSP_REQUEST *x, int crit, int lastpos) in OCSP_REQUEST_get_ext_by_critical() argument 93 return(X509v3_get_ext_by_critical(x->tbsRequest->requestExtensions,crit,lastpos)); in OCSP_REQUEST_get_ext_by_critical() 129 int OCSP_ONEREQ_get_ext_by_NID(OCSP_ONEREQ *x, int nid, int lastpos) in OCSP_ONEREQ_get_ext_by_NID() argument 131 return(X509v3_get_ext_by_NID(x->singleRequestExtensions,nid,lastpos)); in OCSP_ONEREQ_get_ext_by_NID() 134 int OCSP_ONEREQ_get_ext_by_OBJ(OCSP_ONEREQ *x, ASN1_OBJECT *obj, int lastpos) in OCSP_ONEREQ_get_ext_by_OBJ() argument 136 return(X509v3_get_ext_by_OBJ(x->singleRequestExtensions,obj,lastpos)); in OCSP_ONEREQ_get_ext_by_OBJ() [all …]
|
D | ocsp.h | 497 int OCSP_REQUEST_get_ext_by_NID(OCSP_REQUEST *x, int nid, int lastpos); 498 int OCSP_REQUEST_get_ext_by_OBJ(OCSP_REQUEST *x, ASN1_OBJECT *obj, int lastpos); 499 int OCSP_REQUEST_get_ext_by_critical(OCSP_REQUEST *x, int crit, int lastpos); 508 int OCSP_ONEREQ_get_ext_by_NID(OCSP_ONEREQ *x, int nid, int lastpos); 509 int OCSP_ONEREQ_get_ext_by_OBJ(OCSP_ONEREQ *x, ASN1_OBJECT *obj, int lastpos); 510 int OCSP_ONEREQ_get_ext_by_critical(OCSP_ONEREQ *x, int crit, int lastpos); 519 int OCSP_BASICRESP_get_ext_by_NID(OCSP_BASICRESP *x, int nid, int lastpos); 520 int OCSP_BASICRESP_get_ext_by_OBJ(OCSP_BASICRESP *x, ASN1_OBJECT *obj, int lastpos); 521 int OCSP_BASICRESP_get_ext_by_critical(OCSP_BASICRESP *x, int crit, int lastpos); 530 int OCSP_SINGLERESP_get_ext_by_NID(OCSP_SINGLERESP *x, int nid, int lastpos); [all …]
|
/external/chromium_org/third_party/openssl/openssl/crypto/x509v3/ |
D | v3_lib.c | 196 int lastpos, i; in X509V3_get_d2i() local 203 if(idx) lastpos = *idx + 1; in X509V3_get_d2i() 204 else lastpos = 0; in X509V3_get_d2i() 205 if(lastpos < 0) lastpos = 0; in X509V3_get_d2i() 206 for(i = lastpos; i < sk_X509_EXTENSION_num(x); i++) in X509V3_get_d2i()
|
/external/openssl/crypto/x509v3/ |
D | v3_lib.c | 196 int lastpos, i; in X509V3_get_d2i() local 203 if(idx) lastpos = *idx + 1; in X509V3_get_d2i() 204 else lastpos = 0; in X509V3_get_d2i() 205 if(lastpos < 0) lastpos = 0; in X509V3_get_d2i() 206 for(i = lastpos; i < sk_X509_EXTENSION_num(x); i++) in X509V3_get_d2i()
|
/external/chromium_org/third_party/openssl/openssl/include/openssl/ |
D | ocsp.h | 490 int OCSP_REQUEST_get_ext_by_NID(OCSP_REQUEST *x, int nid, int lastpos); 491 int OCSP_REQUEST_get_ext_by_OBJ(OCSP_REQUEST *x, ASN1_OBJECT *obj, int lastpos); 492 int OCSP_REQUEST_get_ext_by_critical(OCSP_REQUEST *x, int crit, int lastpos); 501 int OCSP_ONEREQ_get_ext_by_NID(OCSP_ONEREQ *x, int nid, int lastpos); 502 int OCSP_ONEREQ_get_ext_by_OBJ(OCSP_ONEREQ *x, ASN1_OBJECT *obj, int lastpos); 503 int OCSP_ONEREQ_get_ext_by_critical(OCSP_ONEREQ *x, int crit, int lastpos); 512 int OCSP_BASICRESP_get_ext_by_NID(OCSP_BASICRESP *x, int nid, int lastpos); 513 int OCSP_BASICRESP_get_ext_by_OBJ(OCSP_BASICRESP *x, ASN1_OBJECT *obj, int lastpos); 514 int OCSP_BASICRESP_get_ext_by_critical(OCSP_BASICRESP *x, int crit, int lastpos); 523 int OCSP_SINGLERESP_get_ext_by_NID(OCSP_SINGLERESP *x, int nid, int lastpos); [all …]
|
D | x509.h | 936 int lastpos); 938 int lastpos); 1014 int X509_NAME_get_index_by_NID(X509_NAME *name,int nid,int lastpos); 1016 int lastpos); 1043 int nid, int lastpos); 1045 ASN1_OBJECT *obj,int lastpos); 1047 int crit, int lastpos); 1054 int X509_get_ext_by_NID(X509 *x, int nid, int lastpos); 1055 int X509_get_ext_by_OBJ(X509 *x,ASN1_OBJECT *obj,int lastpos); 1056 int X509_get_ext_by_critical(X509 *x, int crit, int lastpos); [all …]
|
/external/openssl/include/openssl/ |
D | ocsp.h | 497 int OCSP_REQUEST_get_ext_by_NID(OCSP_REQUEST *x, int nid, int lastpos); 498 int OCSP_REQUEST_get_ext_by_OBJ(OCSP_REQUEST *x, ASN1_OBJECT *obj, int lastpos); 499 int OCSP_REQUEST_get_ext_by_critical(OCSP_REQUEST *x, int crit, int lastpos); 508 int OCSP_ONEREQ_get_ext_by_NID(OCSP_ONEREQ *x, int nid, int lastpos); 509 int OCSP_ONEREQ_get_ext_by_OBJ(OCSP_ONEREQ *x, ASN1_OBJECT *obj, int lastpos); 510 int OCSP_ONEREQ_get_ext_by_critical(OCSP_ONEREQ *x, int crit, int lastpos); 519 int OCSP_BASICRESP_get_ext_by_NID(OCSP_BASICRESP *x, int nid, int lastpos); 520 int OCSP_BASICRESP_get_ext_by_OBJ(OCSP_BASICRESP *x, ASN1_OBJECT *obj, int lastpos); 521 int OCSP_BASICRESP_get_ext_by_critical(OCSP_BASICRESP *x, int crit, int lastpos); 530 int OCSP_SINGLERESP_get_ext_by_NID(OCSP_SINGLERESP *x, int nid, int lastpos); [all …]
|
D | x509.h | 936 int lastpos); 938 int lastpos); 1014 int X509_NAME_get_index_by_NID(X509_NAME *name,int nid,int lastpos); 1016 int lastpos); 1043 int nid, int lastpos); 1045 ASN1_OBJECT *obj,int lastpos); 1047 int crit, int lastpos); 1054 int X509_get_ext_by_NID(X509 *x, int nid, int lastpos); 1055 int X509_get_ext_by_OBJ(X509 *x,ASN1_OBJECT *obj,int lastpos); 1056 int X509_get_ext_by_critical(X509 *x, int crit, int lastpos); [all …]
|
/external/openssl/crypto/evp/ |
D | evp_pkey.c | 190 int lastpos) in EVP_PKEY_get_attr_by_NID() argument 192 return X509at_get_attr_by_NID(key->attributes, nid, lastpos); in EVP_PKEY_get_attr_by_NID() 196 int lastpos) in EVP_PKEY_get_attr_by_OBJ() argument 198 return X509at_get_attr_by_OBJ(key->attributes, obj, lastpos); in EVP_PKEY_get_attr_by_OBJ()
|
/external/chromium_org/third_party/openssl/openssl/crypto/evp/ |
D | evp_pkey.c | 190 int lastpos) in EVP_PKEY_get_attr_by_NID() argument 192 return X509at_get_attr_by_NID(key->attributes, nid, lastpos); in EVP_PKEY_get_attr_by_NID() 196 int lastpos) in EVP_PKEY_get_attr_by_OBJ() argument 198 return X509at_get_attr_by_OBJ(key->attributes, obj, lastpos); in EVP_PKEY_get_attr_by_OBJ()
|
/external/chromium_org/courgette/third_party/ |
D | bsdiff_create.cc | 291 int lastscan = 0, lastpos = 0, lastoffset = 0; in CreateBinaryPatch() local 351 for (int i = 0; (lastscan + i < scan) && (lastpos + i < oldsize); ) { in CreateBinaryPatch() 352 if (old[lastpos + i] == newbuf[lastscan + i]) score++; in CreateBinaryPatch() 366 old[lastpos + lenf - overlap + i]) score++; in CreateBinaryPatch() 376 uint8 diff_byte = newbuf[lastscan + i] - old[lastpos + i]; in CreateBinaryPatch() 399 int32 seek_adjustment = ((pos - lenb) - (lastpos + lenf)); in CreateBinaryPatch() 415 lastpos = pos - lenb; // ditto. in CreateBinaryPatch() 416 lastoffset = lastpos - lastscan; in CreateBinaryPatch()
|
/external/bsdiff/ |
D | bsdiff.c | 203 off_t lastscan,lastpos,lastoffset; in main() local 273 lastscan=0;lastpos=0;lastoffset=0; in main() 296 for(i=0;(lastscan+i<scan)&&(lastpos+i<oldsize);) { in main() 297 if(old[lastpos+i]==new[lastscan+i]) s++; in main() 316 old[lastpos+lenf-overlap+i]) s++; in main() 327 db[dblen+i]=new[lastscan+i]-old[lastpos+i]; in main() 344 offtout((pos-lenb)-(lastpos+lenf),buf); in main() 350 lastpos=pos-lenb; in main()
|