Home
last modified time | relevance | path

Searched refs:iv_len (Results 1 – 18 of 18) sorted by relevance

/external/openssl/crypto/evp/
Devp_locl.h134 key_len, iv_len, flags, init_key, cleanup, \ argument
137 nid##_##nmode, block_size, key_len, iv_len, \
150 iv_len, flags, init_key, cleanup, set_asn1, \ argument
153 iv_len, flags, init_key, cleanup, set_asn1, get_asn1, ctrl)
156 iv_len, cbits, flags, init_key, cleanup, \ argument
159 key_len, iv_len, flags, init_key, cleanup, set_asn1, \
163 iv_len, cbits, flags, init_key, cleanup, \ argument
166 key_len, iv_len, flags, init_key, cleanup, set_asn1, \
176 nid, block_size, key_len, iv_len, cbits, flags, \ argument
178 BLOCK_CIPHER_def_cbc(cname, kstruct, nid, block_size, key_len, iv_len, flags, \
[all …]
Dopenbsd_hw.c138 assert(ctx->cipher->iv_len <= MAX_HW_IV);
174 if(ctx->cipher->iv_len)
178 memcpy(lb,&in[cryp.len-ctx->cipher->iv_len],ctx->cipher->iv_len);
231 memcpy(ctx->iv,&out[cryp.len-ctx->cipher->iv_len],ctx->cipher->iv_len);
233 memcpy(ctx->iv,lb,ctx->cipher->iv_len);
Devp_lib.c219 return cipher->iv_len; in EVP_CIPHER_iv_length()
224 return ctx->cipher->iv_len; in EVP_CIPHER_CTX_iv_length()
Devp_key.c125 niv=type->iv_len; in EVP_BytesToKey()
Devp.h305 int iv_len; member
/external/wpa_supplicant_6/wpa_supplicant/src/eap_common/
Dikev2_common.c501 size_t iv_len; in ikev2_decrypt_payload() local
520 iv_len = encr_alg->block_size; in ikev2_decrypt_payload()
528 if (encrypted_len < iv_len + 1 + integ_alg->hash_len) { in ikev2_decrypt_payload()
535 pos = iv + iv_len; in ikev2_decrypt_payload()
603 size_t iv_len, pad_len; in ikev2_build_encrypted() local
619 iv_len = encr_alg->block_size; in ikev2_build_encrypted()
641 iv = wpabuf_put(msg, iv_len); in ikev2_build_encrypted()
642 if (os_get_random(iv, iv_len)) { in ikev2_build_encrypted()
647 pad_len = iv_len - (wpabuf_len(plain) + 1) % iv_len; in ikev2_build_encrypted()
648 if (pad_len == iv_len) in ikev2_build_encrypted()
Deap_sake_common.h82 size_t iv_len; member
Deap_sake_common.c112 attr->iv_len = pos[1] - 2; in eap_sake_parse_add_attr()
/external/openssl/ssl/
Dd1_enc.c221 ds->cipher->iv_len); in dtls1_enc()
223 for (i=0; i<ds->cipher->iv_len; i++) printf("%02X", ds->iv[i]); in dtls1_enc()
Dt1_enc.c350 c->nid,c->block_size,c->key_len,c->iv_len); in tls1_change_cipher_state()
526 printf("\t iv= "); for (i=0; i<c->iv_len; i++) printf("%02x", iv[i]); in tls1_change_cipher_state()
721 ds->cipher->iv_len); in tls1_enc()
723 for (i=0; i<ds->cipher->iv_len; i++) printf("%02X", ds->iv[i]); in tls1_enc()
Ds2_enc.c105 OPENSSL_assert(c->iv_len <= (int)sizeof(s->session->key_arg)); in ssl2_enc_init()
/external/openssl/crypto/pem/
Dpem_lib.c392 OPENSSL_assert(enc->iv_len <= (int)sizeof(iv)); in PEM_ASN1_write_bio()
393 if (RAND_pseudo_bytes(iv,enc->iv_len) < 0) /* Generate a salt */ in PEM_ASN1_write_bio()
401 OPENSSL_assert(strlen(objstr)+23+2*enc->iv_len+13 <= sizeof buf); in PEM_ASN1_write_bio()
405 PEM_dek_info(buf,objstr,enc->iv_len,(char *)iv); in PEM_ASN1_write_bio()
535 if (!load_iv(header_pp,&(cipher->iv[0]),enc->iv_len)) in PEM_get_EVP_CIPHER_INFO()
Dpem_info.c367 OPENSSL_assert(strlen(objstr)+23+2*enc->iv_len+13 <= sizeof buf); in PEM_X509_INFO_write_bio()
370 PEM_dek_info(buf,objstr,enc->iv_len,(char *)iv); in PEM_X509_INFO_write_bio()
/external/openssl/crypto/engine/
Deng_cryptodev.c382 if (ctx->cipher->iv_len) { in cryptodev_cipher()
385 iiv = in + inl - ctx->cipher->iv_len; in cryptodev_cipher()
386 memcpy(save_iv, iiv, ctx->cipher->iv_len); in cryptodev_cipher()
398 if (ctx->cipher->iv_len) { in cryptodev_cipher()
400 iiv = out + inl - ctx->cipher->iv_len; in cryptodev_cipher()
403 memcpy(ctx->iv, iiv, ctx->cipher->iv_len); in cryptodev_cipher()
418 ctx->cipher->iv_len <= ciphers[i].ivmax && in cryptodev_init_key()
/external/wpa_supplicant/
Deap_sake_common.h86 size_t iv_len; member
Deap_sake_common.c111 attr->iv_len = pos[1] - 2; in eap_sake_parse_add_attr()
/external/openssl/apps/
Denc.c632 if (cipher->iv_len > 0) in MAIN()
635 for (i=0; i<cipher->iv_len; i++) in MAIN()
/external/openssl/include/openssl/
Devp.h305 int iv_len; member