Home
last modified time | relevance | path

Searched defs:iv (Results 1 – 25 of 206) sorted by relevance

123456789

/linux/arch/s390/include/asm/
H A Dairq.h59 static inline unsigned long airq_iv_alloc_bit(struct airq_iv *iv) in airq_iv_alloc_bit()
64 static inline void airq_iv_free_bit(struct airq_iv *iv, unsigned long bit) in airq_iv_free_bit()
69 static inline unsigned long airq_iv_end(struct airq_iv *iv) in airq_iv_end()
74 static inline void airq_iv_lock(struct airq_iv *iv, unsigned long bit) in airq_iv_lock()
80 static inline void airq_iv_unlock(struct airq_iv *iv, unsigned long bit) in airq_iv_unlock()
86 static inline void airq_iv_set_data(struct airq_iv *iv, unsigned long bit, in airq_iv_set_data()
92 static inline unsigned int airq_iv_get_data(struct airq_iv *iv, in airq_iv_get_data()
98 static inline void airq_iv_set_ptr(struct airq_iv *iv, unsigned long bit, in airq_iv_set_ptr()
104 static inline unsigned long airq_iv_get_ptr(struct airq_iv *iv, in airq_iv_get_ptr()
/linux/crypto/
H A Dcbc.c17 u8 *iv) in crypto_cbc_encrypt_segment()
34 u8 *iv = oiv; in crypto_cbc_encrypt_inplace() local
54 u8 *dst, unsigned len, u8 *iv, u32 flags) in crypto_cbc_encrypt()
74 const u8 *iv = oiv; in crypto_cbc_decrypt_segment() local
95 u8 *src, unsigned nbytes, u8 *iv) in crypto_cbc_decrypt_inplace()
123 u8 *dst, unsigned len, u8 *iv, u32 flags) in crypto_cbc_decrypt()
H A Dpcbc.c28 u8 * const iv = walk->iv; in crypto_pcbc_encrypt_segment() local
49 u8 * const iv = walk->iv; in crypto_pcbc_encrypt_inplace() local
95 u8 * const iv = walk->iv; in crypto_pcbc_decrypt_segment() local
116 u8 * const iv = walk->iv; in crypto_pcbc_decrypt_inplace() local
H A Dlskcipher.c71 u8 *iv, int (*crypt)(struct crypto_lskcipher *tfm, const u8 *src, in crypto_lskcipher_crypt_unaligned()
124 u8 *dst, unsigned len, u8 *iv, in crypto_lskcipher_crypt()
141 u8 *dst, unsigned len, u8 *iv) in crypto_lskcipher_encrypt()
150 u8 *dst, unsigned len, u8 *iv) in crypto_lskcipher_decrypt()
/linux/drivers/s390/cio/
H A Dairq.c130 struct airq_iv *iv; in airq_iv_create() local
202 void airq_iv_release(struct airq_iv *iv) in airq_iv_release()
225 unsigned long airq_iv_alloc(struct airq_iv *iv, unsigned long num) in airq_iv_alloc()
260 void airq_iv_free(struct airq_iv *iv, unsigned long bit, unsigned long num) in airq_iv_free()
291 unsigned long airq_iv_scan(struct airq_iv *iv, unsigned long start, in airq_iv_scan()
/linux/drivers/crypto/nx/
H A Dnx-aes-ccm.c123 static inline int crypto_ccm_check_iv(const u8 *iv) in crypto_ccm_check_iv()
133 static int generate_b0(u8 *iv, unsigned int assoclen, unsigned int authsize, in generate_b0()
153 static int generate_pat(u8 *iv, in generate_pat()
325 u8 *iv, in ccm_nx_decrypt()
402 u8 *iv, in ccm_nx_encrypt()
477 u8 *iv = rctx->iv; in ccm4309_aes_nx_encrypt() local
501 u8 *iv = rctx->iv; in ccm4309_aes_nx_decrypt() local
H A Dnx-aes-gcm.c166 static int gmac(struct aead_request *req, const u8 *iv, unsigned int assoclen) in gmac()
239 static int gcm_empty(struct aead_request *req, const u8 *iv, int enc) in gcm_empty()
414 char *iv = rctx->iv; in gcm_aes_nx_encrypt() local
424 char *iv = rctx->iv; in gcm_aes_nx_decrypt() local
436 char *iv = rctx->iv; in gcm4106_aes_nx_encrypt() local
453 char *iv = rctx->iv; in gcm4106_aes_nx_decrypt() local
H A Dnx-aes-ctr.c74 static int ctr_aes_nx_crypt(struct skcipher_request *req, u8 *iv) in ctr_aes_nx_crypt()
121 u8 iv[16]; in ctr3686_aes_nx_crypt() local
/linux/include/uapi/linux/
H A Dtls.h127 unsigned char iv[TLS_CIPHER_AES_GCM_128_IV_SIZE]; member
135 unsigned char iv[TLS_CIPHER_AES_GCM_256_IV_SIZE]; member
143 unsigned char iv[TLS_CIPHER_AES_CCM_128_IV_SIZE]; member
151 unsigned char iv[TLS_CIPHER_CHACHA20_POLY1305_IV_SIZE]; member
159 unsigned char iv[TLS_CIPHER_SM4_GCM_IV_SIZE]; member
167 unsigned char iv[TLS_CIPHER_SM4_CCM_IV_SIZE]; member
175 unsigned char iv[TLS_CIPHER_ARIA_GCM_128_IV_SIZE]; member
183 unsigned char iv[TLS_CIPHER_ARIA_GCM_256_IV_SIZE]; member
/linux/net/rxrpc/
H A Drxkad.c197 struct rxrpc_crypt iv; in rxkad_prime_packet_security() local
263 struct rxrpc_crypt iv; in rxkad_secure_packet_auth() local
305 struct rxrpc_crypt iv; in rxkad_secure_packet_encrypt() local
343 struct rxrpc_crypt iv; in rxkad_secure_packet() local
430 struct rxrpc_crypt iv; in rxkad_verify_packet_1() local
494 struct rxrpc_crypt iv; in rxkad_verify_packet_2() local
572 struct rxrpc_crypt iv; in rxkad_verify_packet() local
727 struct rxrpc_crypt iv; in rxkad_encrypt_response() local
956 struct rxrpc_crypt iv, key; in rxkad_decrypt_ticket() local
1082 struct rxrpc_crypt iv; in rxkad_decrypt_response() local
/linux/net/qrtr/
H A Dns.c114 struct kvec iv; in service_announce_new() local
140 struct kvec iv; in service_announce_del() local
171 struct kvec iv; in lookup_notify() local
303 struct kvec iv; in say_hello() local
343 struct kvec iv; in ctrl_cmd_bye() local
396 struct kvec iv; in ctrl_cmd_del_client() local
597 struct kvec iv; in qrtr_ns_worker() local
/linux/arch/arm64/crypto/
H A Dghash-ce-glue.c295 static int gcm_encrypt(struct aead_request *req, char *iv, int assoclen) in gcm_encrypt()
358 static int gcm_decrypt(struct aead_request *req, char *iv, int assoclen) in gcm_decrypt()
426 u8 iv[AES_BLOCK_SIZE]; in gcm_aes_encrypt() local
434 u8 iv[AES_BLOCK_SIZE]; in gcm_aes_decrypt() local
464 u8 iv[AES_BLOCK_SIZE]; in rfc4106_encrypt() local
477 u8 iv[AES_BLOCK_SIZE]; in rfc4106_decrypt() local
/linux/arch/powerpc/crypto/
H A Daes-gcm-p10-glue.c53 u8 iv[16]; member
120 static void gcmp10_init(struct gcm_ctx *gctx, u8 *iv, unsigned char *rdkey, in gcmp10_init()
222 unsigned char *iv = PTR_ALIGN((void *)ivbuf, PPC_ALIGN); in p10_aes_gcm_crypt() local
339 u8 iv[AES_BLOCK_SIZE]; in rfc4106_encrypt() local
352 u8 iv[AES_BLOCK_SIZE]; in rfc4106_decrypt() local
/linux/net/sunrpc/auth_gss/
H A Dgss_krb5_crypto.c105 void * iv, in krb5_encrypt()
225 u8 iv[GSS_KRB5_MAX_BLOCKSIZE]; member
302 u8 iv[GSS_KRB5_MAX_BLOCKSIZE]; member
394 u32 offset, u8 *iv, struct page **pages, int encrypt) in gss_krb5_cts_crypt()
479 u8 *iv, unsigned int ivsize) in krb5_cbc_cts_encrypt()
737 u8 *iv, *checksumdata; in krb5_etm_checksum() local
/linux/net/mac80211/
H A Dwep.c32 static inline bool ieee80211_wep_weak_iv(u32 iv, int keylen) in ieee80211_wep_weak_iv()
49 int keylen, int keyidx, u8 *iv) in ieee80211_wep_get_iv()
136 u8 *iv; in ieee80211_wep_encrypt() local
/linux/drivers/crypto/amcc/
H A Dcrypto4xx_alg.c72 __le32 iv[AES_IV_SIZE / 4]; in crypto4xx_crypt() local
209 __le32 iv[AES_IV_SIZE / 4] = { in crypto4xx_rfc3686_encrypt() local
224 __le32 iv[AES_IV_SIZE / 4] = { in crypto4xx_rfc3686_decrypt() local
429 __le32 iv[4]; in crypto4xx_crypt_aes_ccm() local
575 __le32 iv[4]; in crypto4xx_crypt_aes_gcm() local
/linux/drivers/crypto/
H A Dpadlock-aes.c203 u8 *iv, struct cword *control_word, int count) in rep_xcrypt_cbc()
226 u8 *iv, struct cword *cword, int count) in cbc_crypt_copy()
254 u8 *iv, struct cword *cword, int count) in cbc_crypt()
286 u8 *iv, void *control_word, u32 count) in padlock_xcrypt_cbc()
422 u8 *iv = padlock_xcrypt_cbc(walk.src.virt.addr, in cbc_aes_encrypt() local
/linux/lib/crypto/
H A Dchacha20poly1305.c37 u8 iv[CHACHA_IV_SIZE]; in xchacha_init() local
96 __le64 iv[2]; in chacha20poly1305_encrypt() local
177 __le64 iv[2]; in chacha20poly1305_decrypt() local
228 __le64 iv[2]; in chacha20poly1305_crypt_sg_inplace() member
/linux/block/
H A Dt10-pi.c136 struct bio_vec iv; in t10_pi_type1_prepare() local
188 struct bio_vec iv; in t10_pi_type1_complete() local
310 struct bio_vec iv; in ext_pi_type1_prepare() local
351 struct bio_vec iv; in ext_pi_type1_complete() local
/linux/arch/arm/crypto/
H A Dghash-ce-glue.c303 static int gcm_encrypt(struct aead_request *req, const u8 *iv, u32 assoclen) in gcm_encrypt()
390 static int gcm_decrypt(struct aead_request *req, const u8 *iv, u32 assoclen) in gcm_decrypt()
504 u8 iv[GCM_AES_IV_SIZE]; in rfc4106_encrypt() local
517 u8 iv[GCM_AES_IV_SIZE]; in rfc4106_decrypt() local
/linux/drivers/soc/qcom/
H A Dqmi_interface.c170 struct kvec iv = { &pkt, sizeof(pkt) }; in qmi_send_new_lookup() local
233 struct kvec iv = { &pkt, sizeof(pkt) }; in qmi_send_new_server() local
529 struct kvec iv; in qmi_data_ready_work() local
746 struct kvec iv; in qmi_send_message() local
/linux/drivers/net/ovpn/
H A Dcrypto_aead.c48 u8 *iv; in ovpn_aead_encrypt() local
159 u8 *iv; in ovpn_aead_decrypt() local
/linux/tools/testing/crypto/chacha20-s390/
H A Dtest-cipher.c54 u8 iv[16], key[32]; in test_lib_chacha() local
131 u8 iv[16], key[32]; in test_skcipher() local
/linux/drivers/md/
H A Ddm-crypt.c367 static int crypt_iv_plain_gen(struct crypt_config *cc, u8 *iv, in crypt_iv_plain_gen()
376 static int crypt_iv_plain64_gen(struct crypt_config *cc, u8 *iv, in crypt_iv_plain64_gen()
385 static int crypt_iv_plain64be_gen(struct crypt_config *cc, u8 *iv, in crypt_iv_plain64be_gen()
395 static int crypt_iv_essiv_gen(struct crypt_config *cc, u8 *iv, in crypt_iv_essiv_gen()
443 static int crypt_iv_benbi_gen(struct crypt_config *cc, u8 *iv, in crypt_iv_benbi_gen()
456 static int crypt_iv_null_gen(struct crypt_config *cc, u8 *iv, in crypt_iv_null_gen()
532 static int crypt_iv_lmk_one(struct crypt_config *cc, u8 *iv, in crypt_iv_lmk_one()
583 static int crypt_iv_lmk_gen(struct crypt_config *cc, u8 *iv, in crypt_iv_lmk_gen()
601 static int crypt_iv_lmk_post(struct crypt_config *cc, u8 *iv, in crypt_iv_lmk_post()
705 static int crypt_iv_tcw_gen(struct crypt_config *cc, u8 *iv, in crypt_iv_tcw_gen()
[all …]
/linux/drivers/crypto/intel/keembay/
H A Docs-aes.c602 const u8 *iv, u32 iv_size, in ocs_aes_validate_inputs()
804 u8 *iv, in ocs_aes_op()
877 const u8 *iv) in ocs_aes_gcm_write_j0()
932 const u8 *iv, in ocs_aes_gcm_op()
1056 const u8 *iv, u32 adata_size, u32 tag_size, in ocs_aes_ccm_write_b0()
1314 u8 *iv, in ocs_aes_ccm_op()

123456789