Home
last modified time | relevance | path

Searched refs:AesContext (Results 1 – 7 of 7) sorted by relevance

/device/linaro/bootloader/edk2/CryptoPkg/Library/BaseCryptLib/Cipher/
DCryptAes.c60 OUT VOID *AesContext, in AesInit() argument
70 …if (AesContext == NULL || Key == NULL || (KeyLength != 128 && KeyLength != 192 && KeyLength != 256… in AesInit()
77 AesKey = (AES_KEY *) AesContext; in AesInit()
114 IN VOID *AesContext, in AesEcbEncrypt() argument
125 if (AesContext == NULL || Input == NULL || (InputSize % AES_BLOCK_SIZE) != 0 || Output == NULL) { in AesEcbEncrypt()
129 AesKey = (AES_KEY *) AesContext; in AesEcbEncrypt()
171 IN VOID *AesContext, in AesEcbDecrypt() argument
182 if (AesContext == NULL || Input == NULL || (InputSize % AES_BLOCK_SIZE) != 0 || Output == NULL) { in AesEcbDecrypt()
186 AesKey = (AES_KEY *) AesContext; in AesEcbDecrypt()
231 IN VOID *AesContext, in AesCbcEncrypt() argument
[all …]
DCryptAesNull.c50 OUT VOID *AesContext, in AesInit() argument
75 IN VOID *AesContext, in AesEcbEncrypt() argument
101 IN VOID *AesContext, in AesEcbDecrypt() argument
128 IN VOID *AesContext, in AesCbcEncrypt() argument
156 IN VOID *AesContext, in AesCbcDecrypt() argument
/device/google/contexthub/lib/include/nanohub/
Daes.h22 struct AesContext { struct
27 struct AesContext tmpCtx; argument
35 void aesInitForEncr(struct AesContext *ctx, const uint32_t *k);
36 void aesInitForDecr(struct AesContext *ctx, struct AesSetupTempWorksSpace *tmpSpace, const uint32_t…
37 void aesEncr(struct AesContext *ctx, const uint32_t *src, uint32_t *dst); //encrypts AES_BLOCK_WORD…
38 void aesDecr(struct AesContext *ctx, const uint32_t *src, uint32_t *dst); //deencrypts AES_BLOCK_WO…
42 struct AesContext aes;
/device/linaro/bootloader/edk2/CryptoPkg/Library/BaseCryptLibRuntimeCryptProtocol/Cipher/
DCryptAesNull.c50 OUT VOID *AesContext, in AesInit() argument
75 IN VOID *AesContext, in AesEcbEncrypt() argument
101 IN VOID *AesContext, in AesEcbDecrypt() argument
128 IN VOID *AesContext, in AesCbcEncrypt() argument
156 IN VOID *AesContext, in AesCbcDecrypt() argument
/device/google/contexthub/firmware/os/inc/
Dbl.h41 struct AesContext;
66 void (*blAesInitForEncr)(struct AesContext *ctx, const uint32_t *k);
67 …void (*blAesInitForDecr)(struct AesContext *ctx, struct AesSetupTempWorksSpace *tmpSpac…
68 void (*blAesEncr)(struct AesContext *ctx, const uint32_t *src, uint32_t *dst);
69 void (*blAesDecr)(struct AesContext *ctx, const uint32_t *src, uint32_t *dst);
/device/google/contexthub/lib/nanohub/
Daes.c155 void aesInitForEncr(struct AesContext *ctx, const uint32_t *k) in aesInitForEncr()
183 void aesInitForDecr(struct AesContext *ctx, struct AesSetupTempWorksSpace *tmpSpace, const uint32_t… in aesInitForDecr()
204 void aesEncr(struct AesContext *ctx, const uint32_t *src, uint32_t *dst) in aesEncr()
274 void aesDecr(struct AesContext *ctx, const uint32_t *src, uint32_t *dst) in aesDecr()
/device/linaro/bootloader/edk2/CryptoPkg/Include/Library/
DBaseCryptLib.h1492 OUT VOID *AesContext,
1526 IN VOID *AesContext,
1561 IN VOID *AesContext,
1599 IN VOID *AesContext,
1638 IN VOID *AesContext,