Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement AES-GCM cipher for PowerPC #2

Open
mamonet opened this issue May 20, 2022 · 0 comments
Open

Implement AES-GCM cipher for PowerPC #2

mamonet opened this issue May 20, 2022 · 0 comments

Comments

@mamonet
Copy link
Owner

mamonet commented May 20, 2022

Implementing AES-GCM cipher for PowerPC architecture in HACL* by adding the following modules:

  • module Vale.PPC64LE.InsAes

Vector AES cipher instructions:
Vector AES Cipher
Vector AES Cipher Last
Vector AES Inverse Cipher
Vector AES Inverse Cipher Last
Vector AES SubBytes

  • module Vale.PPC64LE.InsGcm

Vector GHASH instruction:
Vector Polynomial Multiply-Sum Doubleword

  • Code.Crypto.Aes.PPC64LE modules for AES-GCM functions

AES key expansion (Key schedule)
ICB initialization
GHASH subkey initialization
Authenticated encrypt
Authenticated decrypt
Additional authenticated data
digest calculation

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant