/freebsd-current/crypto/openssl/providers/implementations/ciphers/ |
H A D | cipher_null.c | 41 const unsigned char *iv, size_t ivlen, 55 const unsigned char *iv, size_t ivlen, 40 null_einit(void *vctx, const unsigned char *key, size_t keylen, const unsigned char *iv, size_t ivlen, const OSSL_PARAM params[]) argument 54 null_dinit(void *vctx, const unsigned char *key, size_t keylen, const unsigned char *iv, size_t ivlen, const OSSL_PARAM params[]) argument
|
/freebsd-current/sys/dev/usb/wlan/ |
H A D | if_uralreg.h | 179 uint32_t iv; member in struct:ural_tx_desc 193 uint32_t iv; member in struct:ural_rx_desc
|
/freebsd-current/sys/opencrypto/ |
H A D | xform_aes_xts.c | 82 aes_xts_reinit(void *key, const uint8_t *iv, size_t ivlen) argument 95 bcopy(iv, &blocknum, AES_XTS_IVSIZE);
|
H A D | cryptodev.h | 269 const void *iv; member in struct:crypt_op 284 const void *iv; member in struct:crypt_aead 695 crypto_read_iv(struct cryptop *crp, void *iv) argument 701 memcpy(iv, crp->crp_iv, csp->csp_ivlen); 703 crypto_copydata(crp, crp->crp_iv_start, csp->csp_ivlen, iv);
|
/freebsd-current/crypto/openssl/test/ |
H A D | bad_dtls_test.c | 287 unsigned char iv[16]; local 334 if (!TEST_int_gt(RAND_bytes(iv, sizeof(iv)), 0) 337 enc_key, iv, 1)) 346 lenbytes[0] = (unsigned char)((len + sizeof(iv)) >> 8); 347 lenbytes[1] = (unsigned char)(len + sizeof(iv)); 350 BIO_write(rbio, iv, sizeof(iv));
|
H A D | modes_internal_test.c | 192 unsigned char iv[16]; local 202 memcpy(iv, test_iv, test_iv_len); 204 encrypt_key_schedule, iv, 207 || !TEST_mem_eq(iv, sizeof(iv), vector + len - tail, sizeof(iv))) 211 memcpy(iv, test_iv, test_iv_len); 213 decrypt_key_schedule, iv, 217 || !TEST_mem_eq(iv, sizeof(iv), vecto [all...] |
/freebsd-current/contrib/wpa/src/eap_common/ |
H A D | eap_sake_common.h | 75 const u8 *iv; member in struct:eap_sake_parse_attr
|
H A D | eap_sim_common.c | 736 attr->iv = apos + 2; 934 size_t encr_data_len, const u8 *iv, 939 if (!iv) { 952 if (aes_128_cbc_decrypt(k_encr, iv, decrypted, encr_data_len)) { 976 size_t mac, iv, encr; /* index from buf */ member in struct:eap_sim_msg 1119 msg->iv = (pos - wpabuf_head_u8(msg->buf)) + 4; 1120 if (random_get_bytes(wpabuf_mhead_u8(msg->buf) + msg->iv, 1122 msg->iv = 0; 1128 msg->iv = 0; 1141 if (msg == NULL || k_encr == NULL || msg->iv 933 eap_sim_parse_encr(const u8 *k_encr, const u8 *encr_data, size_t encr_data_len, const u8 *iv, struct eap_sim_attrs *attr, int aka) argument [all...] |
/freebsd-current/sys/ofed/include/uapi/rdma/ |
H A D | ib_user_ioctl_verbs.h | 118 __aligned_u64 iv; member in struct:ib_uverbs_flow_action_esp_keymat_aes_gcm
|
/freebsd-current/contrib/libpcap/ |
H A D | pcap-bt-linux.c | 323 struct iovec iv; local 332 iv.iov_base = pktd + sizeof(pcap_bluetooth_h4_header); 333 iv.iov_len = handle->snapshot; 336 msg.msg_iov = &iv;
|
/freebsd-current/sys/dev/qat/qat_api/include/lac/ |
H A D | cpa_cy_kpt.h | 177 * Defines the permitted max iv length in bytes that may be used in 178 * private key wrapping/unwrapping.For AEC-GCM, iv length is 12 bytes. 214 Cpa8U iv[CPA_CY_KPT_MAX_IV_LENGTH]; member in struct:CpaCyKptUnwrapContext_t
|
/freebsd-current/crypto/openssl/crypto/pem/ |
H A D | pem_info.c | 232 const unsigned char *iv = NULL; local 238 * Check "Proc-Type: 4,Encrypted\nDEK-Info: objstr,hex-iv\n" 261 iv = xi->enc_cipher.iv; 280 (const char *)iv);
|
/freebsd-current/tools/tools/net80211/wesside/dics/ |
H A D | dics.c | 108 struct iovec iv; local 115 iv.iov_base = buf; 116 iv.iov_len = sizeof(buf); 122 msg.msg_iov = &iv;
|
/freebsd-current/sys/contrib/openzfs/include/sys/ |
H A D | arc.h | 260 uint8_t *iv, uint8_t *mac); 264 dmu_object_type_t ot, const uint8_t *salt, const uint8_t *iv, 272 boolean_t byteorder, const uint8_t *salt, const uint8_t *iv, 280 const uint8_t *salt, const uint8_t *iv, const uint8_t *mac,
|
/freebsd-current/contrib/bearssl/src/symcipher/ |
H A D | aes_x86ni_cbcdec.c | 52 void *iv, void *data, size_t len) 60 ivx = _mm_loadu_si128(iv); 198 _mm_storeu_si128(iv, ivx); 51 br_aes_x86ni_cbcdec_run(const br_aes_x86ni_cbcdec_keys *ctx, void *iv, void *data, size_t len) argument
|
H A D | aes_pwr8_ctr.c | 630 const void *iv, uint32_t cc, void *data, size_t len) 636 memcpy(ivbuf + 0, iv, 12); 637 memcpy(ivbuf + 16, iv, 12); 638 memcpy(ivbuf + 32, iv, 12); 639 memcpy(ivbuf + 48, iv, 12); 629 br_aes_pwr8_ctr_run(const br_aes_pwr8_ctr_keys *ctx, const void *iv, uint32_t cc, void *data, size_t len) argument
|
/freebsd-current/contrib/wpa/src/crypto/ |
H A D | crypto_linux.c | 675 static int aes_128_cbc_oper(const u8 *key, int enc, const u8 *iv, argument 715 os_memcpy(alg_iv->iv, iv, iv_len); 745 int aes_128_cbc_encrypt(const u8 *key, const u8 *iv, u8 *data, size_t data_len) argument 747 return aes_128_cbc_oper(key, 1, iv, data, data_len); 751 int aes_128_cbc_decrypt(const u8 *key, const u8 *iv, u8 *data, size_t data_len) argument 753 return aes_128_cbc_oper(key, 0, iv, data, data_len); 824 os_memcpy(alg_iv->iv, cipher, iv_len); 859 const u8 *iv, const u8 *key, 902 if (iv 858 crypto_cipher_init(enum crypto_cipher_alg alg, const u8 *iv, const u8 *key, size_t key_len) argument [all...] |
/freebsd-current/sys/contrib/openzfs/module/os/freebsd/zfs/ |
H A D | zio_crypt.c | 421 zio_crypt_key_wrap(crypto_key_t *cwkey, zio_crypt_key_t *key, uint8_t *iv, argument 443 /* generate iv for wrapping the master and hmac key */ 444 ret = random_get_pseudo_bytes(iv, WRAPPING_IV_LEN); 488 iv, enc_len, &cuio, aad_len); 500 uint64_t guid, uint8_t *keydata, uint8_t *hmac_keydata, uint8_t *iv, 565 iv, enc_len, &cuio, aad_len); 667 zio_crypt_encode_params_bp(blkptr_t *bp, uint8_t *salt, uint8_t *iv) argument 676 memcpy(&bp->blk_dva[2].dva_word[1], iv, sizeof (uint64_t)); 677 memcpy(&val32, iv + sizeof (uint64_t), sizeof (uint32_t)); 683 memcpy(&val64, iv, sizeo 499 zio_crypt_key_unwrap(crypto_key_t *cwkey, uint64_t crypt, uint64_t version, uint64_t guid, uint8_t *keydata, uint8_t *hmac_keydata, uint8_t *iv, uint8_t *mac, zio_crypt_key_t *key) argument 692 zio_crypt_decode_params_bp(const blkptr_t *bp, uint8_t *salt, uint8_t *iv) argument 1672 zio_do_crypt_data(boolean_t encrypt, zio_crypt_key_t *key, dmu_object_type_t ot, boolean_t byteswap, uint8_t *salt, uint8_t *iv, uint8_t *mac, uint_t datalen, uint8_t *plainbuf, uint8_t *cipherbuf, boolean_t *no_crypt) argument 1784 zio_do_crypt_abd(boolean_t encrypt, zio_crypt_key_t *key, dmu_object_type_t ot, boolean_t byteswap, uint8_t *salt, uint8_t *iv, uint8_t *mac, uint_t datalen, abd_t *pabd, abd_t *cabd, boolean_t *no_crypt) argument [all...] |
/freebsd-current/sys/contrib/openzfs/module/os/linux/zfs/ |
H A D | zio_crypt.c | 488 zio_crypt_key_wrap(crypto_key_t *cwkey, zio_crypt_key_t *key, uint8_t *iv, argument 502 /* generate iv for wrapping the master and hmac key */ 503 ret = random_get_pseudo_bytes(iv, WRAPPING_IV_LEN); 545 ret = zio_do_crypt_uio(B_TRUE, crypt, cwkey, NULL, iv, enc_len, 558 uint64_t guid, uint8_t *keydata, uint8_t *hmac_keydata, uint8_t *iv, 607 ret = zio_do_crypt_uio(B_FALSE, crypt, cwkey, NULL, iv, enc_len, 750 zio_crypt_encode_params_bp(blkptr_t *bp, uint8_t *salt, uint8_t *iv) argument 759 memcpy(&bp->blk_dva[2].dva_word[1], iv, sizeof (uint64_t)); 760 memcpy(&val32, iv + sizeof (uint64_t), sizeof (uint32_t)); 766 memcpy(&val64, iv, sizeo 557 zio_crypt_key_unwrap(crypto_key_t *cwkey, uint64_t crypt, uint64_t version, uint64_t guid, uint8_t *keydata, uint8_t *hmac_keydata, uint8_t *iv, uint8_t *mac, zio_crypt_key_t *key) argument 775 zio_crypt_decode_params_bp(const blkptr_t *bp, uint8_t *salt, uint8_t *iv) argument 1911 zio_do_crypt_data(boolean_t encrypt, zio_crypt_key_t *key, dmu_object_type_t ot, boolean_t byteswap, uint8_t *salt, uint8_t *iv, uint8_t *mac, uint_t datalen, uint8_t *plainbuf, uint8_t *cipherbuf, boolean_t *no_crypt) argument 2033 zio_do_crypt_abd(boolean_t encrypt, zio_crypt_key_t *key, dmu_object_type_t ot, boolean_t byteswap, uint8_t *salt, uint8_t *iv, uint8_t *mac, uint_t datalen, abd_t *pabd, abd_t *cabd, boolean_t *no_crypt) argument [all...] |
/freebsd-current/sys/dev/cxgbe/crypto/ |
H A D | t4_crypto.c | 622 char iv[CHCR_MAX_CRYPTO_IV_LEN]; local 698 crypto_read_iv(crp, iv); 701 memset(iv + s->cipher.iv_len, 0, iv_len - s->cipher.iv_len); 766 memcpy(dst, iv, iv_len); 777 explicit_bzero(iv, sizeof(iv)); 814 char iv[CHCR_MAX_CRYPTO_IV_LEN]; local 999 crypto_read_iv(crp, iv); 1002 memset(iv + s->cipher.iv_len, 0, iv_len - s->cipher.iv_len); 1077 memcpy(dst, iv, iv_le 1119 char iv[CHCR_MAX_CRYPTO_IV_LEN]; local 1413 generate_ccm_b0(struct cryptop *crp, u_int hash_size_in_response, const char *iv, char *b0) argument 1447 char iv[CHCR_MAX_CRYPTO_IV_LEN]; local [all...] |
/freebsd-current/contrib/netbsd-tests/dev/raidframe/ |
H A D | t_raid.sh | 97 atf_check -s exit:0 -o ignore rump.raidctl -iv raid0 147 atf_check -s exit:0 -o ignore rump.raidctl -iv raid0 185 atf_check -s exit:0 -o ignore rump.raidctl -iv raid0 235 atf_check -s exit:0 -o ignore rump.raidctl -iv raid0 285 atf_check -s exit:0 -o ignore rump.raidctl -iv raid0
|
/freebsd-current/sys/dev/iwm/ |
H A D | if_iwm_mac_ctxt.c | 500 struct iwm_vap *iv = IWM_VAP(vap); local 503 if (iv->is_uploaded != 0) { 512 iv->is_uploaded = 1; 519 struct iwm_vap *iv = IWM_VAP(vap); local 521 if (iv->is_uploaded == 0) {
|
/freebsd-current/crypto/openssl/engines/ |
H A D | e_dasync.c | 137 const unsigned char *iv, int enc); 145 const unsigned char *iv, int enc); 154 const unsigned char *iv, 716 const unsigned char *iv, int enc, 738 ret = EVP_CIPHER_meth_get_init(cipher)(ctx, key, iv, enc); 810 const unsigned char *iv, int enc) 812 return dasync_cipher_init_key_helper(ctx, key, iv, enc, EVP_aes_128_cbc()); 833 const unsigned char *iv, int enc) 835 return dasync_cipher_init_key_helper(ctx, key, iv, enc, EVP_aes_256_ctr()); 862 const unsigned char *iv, 714 dasync_cipher_init_key_helper(EVP_CIPHER_CTX *ctx, const unsigned char *key, const unsigned char *iv, int enc, const EVP_CIPHER *cipher) argument 809 dasync_aes128_init_key(EVP_CIPHER_CTX *ctx, const unsigned char *key, const unsigned char *iv, int enc) argument 832 dasync_aes256_init_key(EVP_CIPHER_CTX *ctx, const unsigned char *key, const unsigned char *iv, int enc) argument 860 dasync_aes128_cbc_hmac_sha1_init_key(EVP_CIPHER_CTX *ctx, const unsigned char *key, const unsigned char *iv, int enc) argument [all...] |
/freebsd-current/crypto/heimdal/lib/hx509/ |
H A D | ks_file.c | 181 char *type, *iv; local 220 iv = strchr(type, ','); 221 if (iv == NULL) { 228 *iv++ = '\0'; 230 size = strlen(iv); 251 ssize = hex_decode(iv, ivdata, size); 254 iv = NULL;
|
/freebsd-current/sys/contrib/openzfs/cmd/zstream/ |
H A D | zstream_dump.c | 216 char iv[ZIO_DATA_IV_LEN * 2 + 1]; local 545 sprintf_bytes(iv, drrw->drr_iv, 556 "salt = %s iv = %s mac = %s\n", 568 iv, 649 sprintf_bytes(iv, drrs->drr_iv, 659 "salt = %s iv = %s mac = %s\n", 667 iv, 723 sprintf_bytes(iv, drror->drr_iv, 730 "salt = %s iv = %s mac = %s\n", 735 iv, [all...] |