HomeSort by: relevance | last modified time | path
    Searched refs:aes_ccm (Results 1 - 6 of 6) sorted by relevancy

  /src/sys/crypto/aes/
aes_ccm_mbuf.h 34 struct aes_ccm;
36 void aes_ccm_enc_mbuf(struct aes_ccm *, struct mbuf *, size_t, size_t, void *);
37 int aes_ccm_dec_mbuf(struct aes_ccm *, struct mbuf *, size_t, size_t,
aes_ccm.h 1 /* $NetBSD: aes_ccm.h,v 1.2 2020/07/27 20:44:30 riastradh Exp $ */
36 struct aes_ccm { struct
44 void aes_ccm_init(struct aes_ccm *, unsigned, const struct aesenc *,
47 void aes_ccm_enc(struct aes_ccm *, const void *, void *, size_t);
48 void aes_ccm_dec(struct aes_ccm *, const void *, void *, size_t);
49 void aes_ccm_tag(struct aes_ccm *, void *);
50 int aes_ccm_verify(struct aes_ccm *, const void *);
aes_ccm_mbuf.c 38 #include <crypto/aes/aes_ccm.h>
42 aes_ccm_enc_mbuf(struct aes_ccm *C, struct mbuf *m, size_t off, size_t len,
65 aes_ccm_dec_mbuf(struct aes_ccm *C, struct mbuf *m0, size_t off0, size_t len0,
aes_ccm.c 1 /* $NetBSD: aes_ccm.c,v 1.6 2021/10/17 14:45:45 jmcneill Exp $ */
38 __KERNEL_RCSID(1, "$NetBSD: aes_ccm.c,v 1.6 2021/10/17 14:45:45 jmcneill Exp $");
47 #include <crypto/aes/aes_ccm.h>
67 aes_ccm_inc(struct aes_ccm *C)
77 aes_ccm_zero_ctr(struct aes_ccm *C)
86 aes_ccm_init(struct aes_ccm *C, unsigned nr, const struct aesenc *enc,
184 aes_ccm_enc(struct aes_ccm *C, const void *in, void *out, size_t nbytes)
244 aes_ccm_dec(struct aes_ccm *C, const void *in, void *out, size_t nbytes)
307 aes_ccm_tag(struct aes_ccm *C, void *out)
331 aes_ccm_verify(struct aes_ccm *C, const void *tag
    [all...]
  /src/sys/net80211/
ieee80211_crypto_ccmp.c 64 #include <crypto/aes/aes_ccm.h>
285 u_int64_t pn, size_t data_len, struct aes_ccm *aes_ccm)
349 aes_ccm_init(aes_ccm, AES_128_NROUNDS, ctx, 2 /* L, counter octets */,
361 struct aes_ccm aes_ccm; local in function:ccmp_encrypt
373 ccmp_init_blocks(&ctx->cc_aes, wh, key->wk_keytsc, data_len, &aes_ccm);
374 aes_ccm_enc_mbuf(&aes_ccm, m, hdrlen + ccmp.ic_header, data_len, mic);
385 struct aes_ccm aes_ccm; local in function:ccmp_decrypt
    [all...]
  /src/sys/rump/kern/lib/libcrypto/
Makefile 38 SRCS+= aes_ccm.c

Completed in 13 milliseconds