crypto_aesctr_arm.h 562 B

1234567891011121314151617181920
  1. #ifndef CRYPTO_AESCTR_ARM_H_
  2. #define CRYPTO_AESCTR_ARM_H_
  3. #include <stddef.h>
  4. #include <stdint.h>
  5. /* Opaque type. */
  6. struct crypto_aesctr;
  7. /**
  8. * crypto_aesctr_arm_stream(stream, inbuf, outbuf, buflen):
  9. * Generate the next ${buflen} bytes of the AES-CTR stream ${stream} and xor
  10. * them with bytes from ${inbuf}, writing the result into ${outbuf}. If the
  11. * buffers ${inbuf} and ${outbuf} overlap, they must be identical.
  12. */
  13. void crypto_aesctr_arm_stream(struct crypto_aesctr *, const uint8_t *,
  14. uint8_t *, size_t);
  15. #endif /* !CRYPTO_AESCTR_ARM_H_ */