Home
last modified time | relevance | path

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

123456789

/linux-6.15/arch/s390/include/asm/
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-6.15/crypto/
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()
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
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-6.15/drivers/s390/cio/
Dairq.c129 struct airq_iv *iv; in airq_iv_create() local
201 void airq_iv_release(struct airq_iv *iv) in airq_iv_release()
224 unsigned long airq_iv_alloc(struct airq_iv *iv, unsigned long num) in airq_iv_alloc()
259 void airq_iv_free(struct airq_iv *iv, unsigned long bit, unsigned long num) in airq_iv_free()
290 unsigned long airq_iv_scan(struct airq_iv *iv, unsigned long start, in airq_iv_scan()
/linux-6.15/drivers/crypto/nx/
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
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
Dnx-aes-ctr.c72 static int ctr_aes_nx_crypt(struct skcipher_request *req, u8 *iv) in ctr_aes_nx_crypt()
119 u8 iv[16]; in ctr3686_aes_nx_crypt() local
/linux-6.15/include/uapi/linux/
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-6.15/net/rxrpc/
Drxkad.c195 struct rxrpc_crypt iv; in rxkad_prime_packet_security() local
261 struct rxrpc_crypt iv; in rxkad_secure_packet_auth() local
303 struct rxrpc_crypt iv; in rxkad_secure_packet_encrypt() local
341 struct rxrpc_crypt iv; in rxkad_secure_packet() local
428 struct rxrpc_crypt iv; in rxkad_verify_packet_1() local
492 struct rxrpc_crypt iv; in rxkad_verify_packet_2() local
570 struct rxrpc_crypt iv; in rxkad_verify_packet() local
779 struct rxrpc_crypt iv; in rxkad_encrypt_response() local
882 struct rxrpc_crypt iv, key; in rxkad_decrypt_ticket() local
1008 struct rxrpc_crypt iv; in rxkad_decrypt_response() local
/linux-6.15/net/qrtr/
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-6.15/arch/powerpc/crypto/
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-6.15/arch/arm64/crypto/
Dghash-ce-glue.c326 static int gcm_encrypt(struct aead_request *req, char *iv, int assoclen) in gcm_encrypt()
389 static int gcm_decrypt(struct aead_request *req, char *iv, int assoclen) in gcm_decrypt()
457 u8 iv[AES_BLOCK_SIZE]; in gcm_aes_encrypt() local
465 u8 iv[AES_BLOCK_SIZE]; in gcm_aes_decrypt() local
495 u8 iv[AES_BLOCK_SIZE]; in rfc4106_encrypt() local
508 u8 iv[AES_BLOCK_SIZE]; in rfc4106_decrypt() local
/linux-6.15/net/sunrpc/auth_gss/
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-6.15/net/mac80211/
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-6.15/drivers/crypto/
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-6.15/lib/crypto/
Dchacha20poly1305.c38 u8 iv[CHACHA_IV_SIZE]; in xchacha_init() local
96 __le64 iv[2]; in chacha20poly1305_encrypt() local
174 __le64 iv[2]; in chacha20poly1305_decrypt() local
225 __le64 iv[2]; in chacha20poly1305_crypt_sg_inplace() member
/linux-6.15/block/
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-6.15/drivers/crypto/amcc/
Dcrypto4xx_alg.c75 __le32 iv[AES_IV_SIZE]; in crypto4xx_crypt() local
212 __le32 iv[AES_IV_SIZE / 4] = { in crypto4xx_rfc3686_encrypt() local
227 __le32 iv[AES_IV_SIZE / 4] = { in crypto4xx_rfc3686_decrypt() local
432 __le32 iv[16]; in crypto4xx_crypt_aes_ccm() local
578 __le32 iv[4]; in crypto4xx_crypt_aes_gcm() local
/linux-6.15/drivers/soc/qcom/
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-6.15/arch/arm/crypto/
Dghash-ce-glue.c307 static int gcm_encrypt(struct aead_request *req, const u8 *iv, u32 assoclen) in gcm_encrypt()
397 static int gcm_decrypt(struct aead_request *req, const u8 *iv, u32 assoclen) in gcm_decrypt()
514 u8 iv[GCM_AES_IV_SIZE]; in rfc4106_encrypt() local
527 u8 iv[GCM_AES_IV_SIZE]; in rfc4106_decrypt() local
/linux-6.15/tools/testing/crypto/chacha20-s390/
Dtest-cipher.c54 u8 iv[16], key[32]; in test_lib_chacha() local
131 u8 iv[16], key[32]; in test_skcipher() local
/linux-6.15/drivers/md/
Ddm-crypt.c349 static int crypt_iv_plain_gen(struct crypt_config *cc, u8 *iv, in crypt_iv_plain_gen()
358 static int crypt_iv_plain64_gen(struct crypt_config *cc, u8 *iv, in crypt_iv_plain64_gen()
367 static int crypt_iv_plain64be_gen(struct crypt_config *cc, u8 *iv, in crypt_iv_plain64be_gen()
377 static int crypt_iv_essiv_gen(struct crypt_config *cc, u8 *iv, in crypt_iv_essiv_gen()
425 static int crypt_iv_benbi_gen(struct crypt_config *cc, u8 *iv, in crypt_iv_benbi_gen()
438 static int crypt_iv_null_gen(struct crypt_config *cc, u8 *iv, in crypt_iv_null_gen()
514 static int crypt_iv_lmk_one(struct crypt_config *cc, u8 *iv, in crypt_iv_lmk_one()
562 static int crypt_iv_lmk_gen(struct crypt_config *cc, u8 *iv, in crypt_iv_lmk_gen()
580 static int crypt_iv_lmk_post(struct crypt_config *cc, u8 *iv, in crypt_iv_lmk_post()
684 static int crypt_iv_tcw_gen(struct crypt_config *cc, u8 *iv, in crypt_iv_tcw_gen()
[all …]
/linux-6.15/drivers/crypto/intel/keembay/
Docs-aes.c601 const u8 *iv, u32 iv_size, in ocs_aes_validate_inputs()
803 u8 *iv, in ocs_aes_op()
876 const u8 *iv) in ocs_aes_gcm_write_j0()
931 const u8 *iv, in ocs_aes_gcm_op()
1055 const u8 *iv, u32 adata_size, u32 tag_size, in ocs_aes_ccm_write_b0()
1313 u8 *iv, in ocs_aes_ccm_op()
/linux-6.15/drivers/net/wireless/intel/ipw2x00/
Dlibipw_crypto_ccmp.c88 const u8 *pn, u8 *iv, u8 *aad) in ccmp_init_iv_and_aad()
190 u8 iv[AES_BLOCK_LEN]; in libipw_ccmp_encrypt() local
255 u8 iv[AES_BLOCK_LEN]; in libipw_ccmp_decrypt() local

123456789