Home
last modified time | relevance | path

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

/external/openssl/crypto/evp/
Devp_locl.h106 key_len, iv_len, flags, init_key, cleanup, \ argument
109 nid##_##nmode, block_size, key_len, iv_len, \
122 iv_len, flags, init_key, cleanup, set_asn1, \ argument
125 iv_len, flags, init_key, cleanup, set_asn1, get_asn1, ctrl)
128 iv_len, cbits, flags, init_key, cleanup, \ argument
131 key_len, iv_len, flags, init_key, cleanup, set_asn1, \
135 iv_len, cbits, flags, init_key, cleanup, \ argument
138 key_len, iv_len, flags, init_key, cleanup, set_asn1, \
142 iv_len, flags, init_key, cleanup, set_asn1, \ argument
145 iv_len, flags, init_key, cleanup, set_asn1, get_asn1, ctrl)
[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.c213 return cipher->iv_len; in EVP_CIPHER_iv_length()
218 return ctx->cipher->iv_len; in EVP_CIPHER_CTX_iv_length()
Devp_key.c120 niv=type->iv_len; in EVP_BytesToKey()
Devp.h312 int iv_len; member
/external/openssl/ssl/
Dd1_enc.c209 ds->cipher->iv_len); in dtls1_enc()
211 for (i=0; i<ds->cipher->iv_len; i++) printf("%02X", ds->iv[i]); in dtls1_enc()
Dt1_enc.c255 c->nid,c->block_size,c->key_len,c->iv_len); in tls1_change_cipher_state()
420 printf("\t iv= "); for (i=0; i<c->iv_len; i++) printf("%02x", iv[i]); in tls1_change_cipher_state()
597 ds->cipher->iv_len); in tls1_enc()
599 for (i=0; i<ds->cipher->iv_len; i++) printf("%02X", ds->iv[i]); in tls1_enc()
Ds2_enc.c106 OPENSSL_assert(c->iv_len <= (int)sizeof(s->session->key_arg)); in ssl2_enc_init()
/external/openssl/crypto/engine/
Deng_cryptodev.c398 if (ctx->cipher->iv_len) { in cryptodev_cipher()
401 iiv = (void *) in + inl - ctx->cipher->iv_len; in cryptodev_cipher()
402 memcpy(save_iv, iiv, ctx->cipher->iv_len); in cryptodev_cipher()
414 if (ctx->cipher->iv_len) { in cryptodev_cipher()
416 iiv = (void *) out + inl - ctx->cipher->iv_len; in cryptodev_cipher()
419 memcpy(ctx->iv, iiv, ctx->cipher->iv_len); in cryptodev_cipher()
435 if (ctx->cipher->iv_len > cryptodev_max_iv(cipher)) in cryptodev_init_key()
/external/openssl/crypto/pem/
Dpem_lib.c341 OPENSSL_assert(enc->iv_len <= (int)sizeof(iv)); in PEM_ASN1_write_bio()
342 if (RAND_pseudo_bytes(iv,enc->iv_len) < 0) /* Generate a salt */ in PEM_ASN1_write_bio()
350 OPENSSL_assert(strlen(objstr)+23+2*enc->iv_len+13 <= sizeof buf); in PEM_ASN1_write_bio()
354 PEM_dek_info(buf,objstr,enc->iv_len,(char *)iv); in PEM_ASN1_write_bio()
484 if (!load_iv(header_pp,&(cipher->iv[0]),enc->iv_len)) in PEM_get_EVP_CIPHER_INFO()
Dpem_info.c359 OPENSSL_assert(strlen(objstr)+23+2*enc->iv_len+13 <= sizeof buf); in PEM_X509_INFO_write_bio()
362 PEM_dek_info(buf,objstr,enc->iv_len,(char *)iv); in PEM_X509_INFO_write_bio()
/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.c593 if (cipher->iv_len > 0) in MAIN()
596 for (i=0; i<cipher->iv_len; i++) in MAIN()
/external/openssl/include/openssl/
Devp.h312 int iv_len; member