Home
last modified time | relevance | path

Searched refs:crypto_skcipher_encrypt (Results 1 – 25 of 59) sorted by relevance

123

/linux/crypto/
H A Dcts.c125 return crypto_skcipher_encrypt(subreq); in cts_cbc_encrypt()
164 return crypto_skcipher_encrypt(subreq); in crypto_cts_encrypt()
175 return crypto_skcipher_encrypt(subreq) ?: in crypto_cts_encrypt()
H A Dxts.c210 err = xts_cts_final(req, crypto_skcipher_encrypt); in xts_encrypt_done()
269 crypto_skcipher_encrypt(subreq) ?: in xts_encrypt()
275 return xts_cts_final(req, crypto_skcipher_encrypt); in xts_encrypt()
H A Dalgif_skcipher.c182 crypto_skcipher_encrypt(&areq->cra_u.skcipher_req) : in _skcipher_recvmsg()
198 crypto_skcipher_encrypt(&areq->cra_u.skcipher_req) : in _skcipher_recvmsg()
H A Dechainiv.c54 err = crypto_skcipher_encrypt(nreq); in echainiv_encrypt()
H A Dauthenc.c185 return crypto_skcipher_encrypt(skreq); in crypto_authenc_copy_assoc()
218 err = crypto_skcipher_encrypt(skreq); in crypto_authenc_encrypt()
H A Dseqiv.c77 err = crypto_skcipher_encrypt(nreq); in seqiv_aead_encrypt()
H A Dauthencesn.c172 return crypto_skcipher_encrypt(skreq); in crypto_authenc_esn_copy()
206 err = crypto_skcipher_encrypt(skreq); in crypto_authenc_esn_encrypt()
H A Dadiantum.c154 err = crypto_wait_req(crypto_skcipher_encrypt(&data->req), &data->wait); in adiantum_setkey()
413 return crypto_skcipher_encrypt(&rctx->u.streamcipher_req) ?: in adiantum_crypt()
H A Dgcm.c131 err = crypto_wait_req(crypto_skcipher_encrypt(&data->req), in crypto_gcm_setkey()
459 return crypto_skcipher_encrypt(skreq) ?: in crypto_gcm_encrypt()
968 return crypto_skcipher_encrypt(nreq); in crypto_rfc4543_copy_src_to_dst()
H A Dlrw.c250 crypto_skcipher_encrypt(subreq) ?: in lrw_encrypt()
/linux/Documentation/crypto/
H A Dapi-skcipher.rst17 …skcipher_blocksize crypto_skcipher_setkey crypto_skcipher_reqtfm crypto_skcipher_encrypt crypto_sk…
H A Dapi-samples.rst70 * To decrypt instead of encrypt, just change crypto_skcipher_encrypt() to
78 err = crypto_wait_req(crypto_skcipher_encrypt(req), &wait);
/linux/net/rxrpc/
H A Drxkad.c226 crypto_skcipher_encrypt(req); in rxkad_prime_packet_security()
287 crypto_skcipher_encrypt(req); in rxkad_secure_packet_auth()
330 ret = crypto_skcipher_encrypt(req); in rxkad_secure_packet_encrypt()
377 crypto_skcipher_encrypt(req); in rxkad_secure_packet()
603 crypto_skcipher_encrypt(req); in rxkad_verify_packet()
794 crypto_skcipher_encrypt(req); in rxkad_encrypt_response()
/linux/arch/powerpc/crypto/
H A Daes_cbc.c84 return enc ? crypto_skcipher_encrypt(subreq) : in p8_aes_cbc_crypt()
H A Daes_ctr.c103 return crypto_skcipher_encrypt(subreq); in p8_aes_ctr_crypt()
H A Daes_xts.c95 return enc ? crypto_skcipher_encrypt(subreq) : in p8_aes_xts_crypt()
/linux/net/sunrpc/auth_gss/
H A Dgss_krb5_crypto.c134 ret = crypto_skcipher_encrypt(req); in krb5_encrypt()
424 ret = crypto_skcipher_encrypt(desc->req); in encryptor()
576 ret = crypto_skcipher_encrypt(req); in xdr_extend_head()
/linux/tools/testing/crypto/chacha20-s390/
H A Dtest-cipher.c107 rc = crypto_wait_req(crypto_skcipher_encrypt(sk->req), in test_skcipher_encdec()
/linux/security/keys/trusted-keys/
H A Dtrusted_dcp.c118 res = crypto_wait_req(crypto_skcipher_encrypt(req), &wait); in do_dcp_crypto()
/linux/fs/crypto/
H A Dkeysetup_v1.c79 res = crypto_wait_req(crypto_skcipher_encrypt(req), &wait); in derive_key_aes()
H A Dcrypto.c144 res = crypto_wait_req(crypto_skcipher_encrypt(req), &wait); in fscrypt_crypt_data_unit()
/linux/drivers/crypto/ccp/
H A Dccp-crypto-aes-xts.c159 ret = encrypt ? crypto_skcipher_encrypt(&rctx->fallback_req) : in ccp_aes_xts_crypt()
/linux/net/ceph/
H A Dcrypto.c237 ret = crypto_skcipher_encrypt(req); in ceph_aes_crypt()
/linux/arch/s390/crypto/
H A Daes_s390.c203 crypto_skcipher_encrypt(subreq); in fallback_skcipher_crypt()
452 crypto_skcipher_encrypt(subreq); in xts_aes_crypt()
585 crypto_skcipher_encrypt(subreq); in fullxts_aes_crypt()
/linux/net/mac80211/
H A Dfils_aead.c135 res = crypto_skcipher_encrypt(req); in aes_siv_encrypt()

123