/external/openssl/crypto/evp/ |
D | bio_b64.c | 169 OPENSSL_assert(ctx->buf_len >= ctx->buf_off); in b64_read() 172 OPENSSL_assert(ctx->buf_off+i < (int)sizeof(ctx->buf)); in b64_read() 392 OPENSSL_assert(ctx->buf_off < (int)sizeof(ctx->buf)); in b64_write() 393 OPENSSL_assert(ctx->buf_len <= (int)sizeof(ctx->buf)); in b64_write() 394 OPENSSL_assert(ctx->buf_len >= ctx->buf_off); in b64_write() 404 OPENSSL_assert(i <= n); in b64_write() 406 OPENSSL_assert(ctx->buf_off <= (int)sizeof(ctx->buf)); in b64_write() 407 OPENSSL_assert(ctx->buf_len >= ctx->buf_off); in b64_write() 424 OPENSSL_assert(ctx->tmp_len <= 3); in b64_write() 435 OPENSSL_assert(ctx->buf_len <= (int)sizeof(ctx->buf)); in b64_write() [all …]
|
D | evp_enc.c | 192 OPENSSL_assert(ctx->cipher->block_size == 1 in EVP_CipherInit_ex() 211 OPENSSL_assert(EVP_CIPHER_CTX_iv_length(ctx) <= in EVP_CipherInit_ex() 304 OPENSSL_assert(bl <= (int)sizeof(ctx->buf)); in EVP_EncryptUpdate() 354 OPENSSL_assert(b <= sizeof ctx->buf); in EVP_EncryptFinal_ex() 400 OPENSSL_assert(b <= sizeof ctx->final); in EVP_DecryptUpdate() 463 OPENSSL_assert(b <= sizeof ctx->final); in EVP_DecryptFinal_ex()
|
D | p5_crpt.c | 122 OPENSSL_assert(EVP_CIPHER_key_length(cipher) <= (int)sizeof(md_tmp)); in PKCS5_PBE_keyivgen() 124 OPENSSL_assert(EVP_CIPHER_iv_length(cipher) <= 16); in PKCS5_PBE_keyivgen()
|
D | evp_key.c | 126 OPENSSL_assert(nkey <= EVP_MAX_KEY_LENGTH); in EVP_BytesToKey() 127 OPENSSL_assert(niv <= EVP_MAX_IV_LENGTH); in EVP_BytesToKey()
|
D | evp_lib.c | 94 OPENSSL_assert(l <= sizeof(c->iv)); in EVP_CIPHER_get_asn1_iv() 112 OPENSSL_assert(j <= sizeof(c->iv)); in EVP_CIPHER_set_asn1_iv()
|
D | encode.c | 139 OPENSSL_assert(ctx->length <= (int)sizeof(ctx->enc_data)); in EVP_EncodeUpdate() 262 OPENSSL_assert(n < (int)sizeof(ctx->enc_data)); in EVP_DecodeUpdate()
|
D | e_rc2.c | 179 OPENSSL_assert(l <= sizeof(iv)); in rc2_get_asn1_type_and_iv()
|
D | digest.c | 250 OPENSSL_assert(ctx->digest->md_size <= EVP_MAX_MD_SIZE); in EVP_DigestFinal_ex()
|
D | p5_crpt2.c | 221 OPENSSL_assert(keylen <= sizeof key); in PKCS5_v2_PBE_keyivgen()
|
/external/openssl/crypto/x509v3/ |
D | v3_asid.c | 174 OPENSSL_assert((a->type == ASIdOrRange_id && a->u.id != NULL) || in ASIdOrRange_cmp() 178 OPENSSL_assert((b->type == ASIdOrRange_id && b->u.id != NULL) || in ASIdOrRange_cmp() 217 OPENSSL_assert((*choice)->u.inherit == NULL); in v3_asid_add_inherit() 252 OPENSSL_assert((*choice)->u.asIdsOrRanges == NULL); in v3_asid_add_id_or_range() 288 OPENSSL_assert(aor != NULL && min != NULL && max != NULL); in extract_min_max() 397 OPENSSL_assert(choice->type == ASIdentifierChoice_asIdsOrRanges); in ASIdentifierChoice_canonize() 415 OPENSSL_assert(ASN1_INTEGER_cmp(a_min, b_min) <= 0); in ASIdentifierChoice_canonize() 474 OPENSSL_assert(ASIdentifierChoice_is_canonical(choice)); /* Paranoia */ in ASIdentifierChoice_canonize() 711 OPENSSL_assert(chain != NULL && sk_X509_num(chain) > 0); in v3_asid_validate_path_internal() 712 OPENSSL_assert(ctx != NULL || ext != NULL); in v3_asid_validate_path_internal() [all …]
|
D | v3_addr.c | 150 OPENSSL_assert(bs->length >= 0 && bs->length <= length); in addr_expand() 463 OPENSSL_assert(aor->u.addressRange == NULL); in make_addressRange() 532 OPENSSL_assert(f->addressFamily->data != NULL); in make_IPAddressFamily() 664 OPENSSL_assert(aor != NULL && min != NULL && max != NULL); in extract_min_max() 890 OPENSSL_assert(v3_addr_is_canonical(addr)); in v3_addr_canonize() 1177 OPENSSL_assert(chain != NULL && sk_X509_num(chain) > 0); in v3_addr_validate_path_internal() 1178 OPENSSL_assert(ctx != NULL || ext != NULL); in v3_addr_validate_path_internal() 1179 OPENSSL_assert(ctx == NULL || ctx->verify_cb != NULL); in v3_addr_validate_path_internal() 1192 OPENSSL_assert(x != NULL); in v3_addr_validate_path_internal() 1211 OPENSSL_assert(x != NULL); in v3_addr_validate_path_internal() [all …]
|
/external/openssl/crypto/aes/ |
D | aes_ige.c | 86 OPENSSL_assert(in && out && key && ivec); in AES_ige_encrypt() 87 OPENSSL_assert((AES_ENCRYPT == enc)||(AES_DECRYPT == enc)); in AES_ige_encrypt() 88 OPENSSL_assert((length%AES_BLOCK_SIZE) == 0); in AES_ige_encrypt() 227 OPENSSL_assert(in && out && key && ivec); in AES_bi_ige_encrypt() 228 OPENSSL_assert((AES_ENCRYPT == enc)||(AES_DECRYPT == enc)); in AES_bi_ige_encrypt() 229 OPENSSL_assert((length%AES_BLOCK_SIZE) == 0); in AES_bi_ige_encrypt()
|
/external/openssl/ssl/ |
D | d1_both.c | 141 OPENSSL_assert((msg_len) > 0); \ 268 OPENSSL_assert(mtu > 0); /* should have something reasonable now */ in dtls1_do_write() 273 OPENSSL_assert(s->init_num == in dtls1_do_write() 314 OPENSSL_assert(s->init_off > DTLS1_HM_HEADER_LENGTH); in dtls1_do_write() 328 OPENSSL_assert(len >= DTLS1_HM_HEADER_LENGTH); in dtls1_do_write() 353 OPENSSL_assert(len == (unsigned int)ret); in dtls1_do_write() 798 OPENSSL_assert(i == DTLS1_HM_HEADER_LENGTH); in dtls1_get_message_fragment() 870 OPENSSL_assert(i == (int)frag_len); in dtls1_get_message_fragment() 912 OPENSSL_assert(i <= EVP_MAX_MD_SIZE); in dtls1_send_finished() 919 OPENSSL_assert(i <= EVP_MAX_MD_SIZE); in dtls1_send_finished() [all …]
|
D | t1_reneg.c | 240 OPENSSL_assert(!expected_len || s->s3->previous_client_finished_len); in ssl_parse_serverhello_renegotiate_ext() 241 OPENSSL_assert(!expected_len || s->s3->previous_server_finished_len); in ssl_parse_serverhello_renegotiate_ext()
|
D | s2_enc.c | 100 OPENSSL_assert(s->s2->key_material_length <= sizeof s->s2->key_material); in ssl2_enc_init() 105 OPENSSL_assert(c->iv_len <= (int)sizeof(s->session->key_arg)); in ssl2_enc_init()
|
D | s3_both.c | 173 OPENSSL_assert(i <= EVP_MAX_MD_SIZE); in ssl3_send_finished() 180 OPENSSL_assert(i <= EVP_MAX_MD_SIZE); in ssl3_send_finished() 279 OPENSSL_assert(i <= EVP_MAX_MD_SIZE); in ssl3_get_finished() 286 OPENSSL_assert(i <= EVP_MAX_MD_SIZE); in ssl3_get_finished()
|
D | s2_lib.c | 487 OPENSSL_assert(s->session->master_key_length >= 0 in ssl2_generate_key_material() 528 OPENSSL_assert(error >= 0 && error <= (int)sizeof(buf)); in ssl2_write_error()
|
D | t1_enc.c | 169 OPENSSL_assert(chunk >= 0); in tls1_P_hash() 651 OPENSSL_assert(n >= 0); in tls1_enc() 665 OPENSSL_assert(n >= 0); in tls1_enc() 902 OPENSSL_assert(t >= 0); in tls1_mac() 937 OPENSSL_assert(t > 0); in tls1_mac()
|
D | d1_pkt.c | 438 OPENSSL_assert(t >= 0); in dtls1_process_record() 1346 OPENSSL_assert(len <= SSL3_RT_MAX_PLAIN_LENGTH); in dtls1_write_bytes() 1367 OPENSSL_assert(0); /* XDTLS: want to see if we ever get here */ in do_dtls1_write()
|
/external/openssl/apps/ |
D | s_cb.c | 736 OPENSSL_assert(0); in generate_cookie_callback() 768 OPENSSL_assert(0); in generate_cookie_callback() 817 OPENSSL_assert(0); in verify_cookie_callback() 849 OPENSSL_assert(0); in verify_cookie_callback()
|
/external/openssl/crypto/hmac/ |
D | hmac.c | 82 OPENSSL_assert(j <= (int)sizeof(ctx->key)); in HMAC_Init_ex() 95 OPENSSL_assert(len>=0 && len<=(int)sizeof(ctx->key)); in HMAC_Init_ex()
|
/external/openssl/crypto/jpake/ |
D | jpake.c | 136 OPENSSL_assert(l <= 0xffff); in hashlength() 174 OPENSSL_assert(!BN_is_zero(p->zkpx.gr)); in zkp_hash()
|
/external/openssl/crypto/conf/ |
D | conf_api.c | 289 OPENSSL_assert(vv == NULL); in _CONF_new_section()
|
/external/openssl/crypto/pem/ |
D | pem_lib.c | 392 OPENSSL_assert(enc->iv_len <= (int)sizeof(iv)); in PEM_ASN1_write_bio() 401 OPENSSL_assert(strlen(objstr)+23+2*enc->iv_len+13 <= sizeof buf); in PEM_ASN1_write_bio()
|
D | pem_info.c | 367 OPENSSL_assert(strlen(objstr)+23+2*enc->iv_len+13 <= sizeof buf); in PEM_X509_INFO_write_bio()
|