C _aes_decrypt(struct aes_context *ctx,
C const struct aes_table *T,
- C unsigned length, uint8_t *dst,
+ C size_t length, uint8_t *dst,
C uint8_t *src)
.text
.align 2
C _aes_encrypt(struct aes_context *ctx,
C const struct aes_table *T,
- C unsigned length, uint8_t *dst,
+ C size_t length, uint8_t *dst,
C uint8_t *src)
.text
.align 2
-C -*- mode: asm; asm-comment-char: ?C; -*-
C nettle, low-level cryptographics library
C
C Copyright (C) 2013, Niels Möller
-C -*- mode: asm; asm-comment-char: ?C; -*-
C nettle, low-level cryptographics library
C
C Copyright (C) 2002, 2005 Niels Möller
C _aes_decrypt(struct aes_context *ctx,
C const struct aes_table *T,
- C unsigned length, uint8_t *dst,
+ C size_t length, uint8_t *dst,
C uint8_t *src)
.section ".text"
-C -*- mode: asm; asm-comment-char: ?C; -*-
C nettle, low-level cryptographics library
C
C Copyright (C) 2002, 2005 Niels Möller
C _aes_encrypt(struct aes_context *ctx,
C const struct aes_table *T,
- C unsigned length, uint8_t *dst,
+ C size_t length, uint8_t *dst,
C uint8_t *src)
.section ".text"
-C -*- mode: asm; asm-comment-char: ?C; -*-
C nettle, low-level cryptographics library
C
C Copyright (C) 2002, 2005 Niels Möller
.file "arcfour-crypt.asm"
C arcfour_crypt(struct arcfour_ctx *ctx,
- C unsigned length, uint8_t *dst,
+ C size_t length, uint8_t *dst,
C const uint8_t *src)
.section ".text"
-C -*- mode: asm; asm-comment-char: ?C; -*-
C nettle, low-level cryptographics library
C
C Copyright (C) 2002, 2005 Niels Möller
C _aes_decrypt(struct aes_context *ctx,
C const struct aes_table *T,
- C unsigned length, uint8_t *dst,
+ C size_t length, uint8_t *dst,
C uint8_t *src)
.section ".text"
-C -*- mode: asm; asm-comment-char: ?C; -*-
C nettle, low-level cryptographics library
C
C Copyright (C) 2002, 2005 Niels Möller
C _aes_encrypt(struct aes_context *ctx,
C const struct aes_table *T,
- C unsigned length, uint8_t *dst,
+ C size_t length, uint8_t *dst,
C uint8_t *src)
.section ".text"
-C -*- mode: asm; asm-comment-char: ?C; -*-
C nettle, low-level cryptographics library
C
C Copyright (C) 2002, 2005 Niels Möller
.file "arcfour-crypt.asm"
C arcfour_crypt(struct arcfour_ctx *ctx,
- C unsigned length, uint8_t *dst,
+ C size_t length, uint8_t *dst,
C const uint8_t *src)
.section ".text"
}
typedef void salsa20_func(struct salsa20_ctx *ctx,
- unsigned length, uint8_t *dst,
+ size_t length, uint8_t *dst,
const uint8_t *src);
static void
_test_salsa20(salsa20_func *crypt,
C _aes_decrypt(struct aes_context *ctx,
C const struct aes_table *T,
- C unsigned length, uint8_t *dst,
+ C size_t length, uint8_t *dst,
C uint8_t *src)
.text
ALIGN(16)
C _aes_encrypt(struct aes_context *ctx,
C const struct aes_table *T,
- C unsigned length, uint8_t *dst,
+ C size_t length, uint8_t *dst,
C uint8_t *src)
.text
ALIGN(16)
.file "arcfour-crypt.asm"
C arcfour_crypt(struct arcfour_ctx *ctx,
- C unsigned length, uint8_t *dst,
+ C size_t length, uint8_t *dst,
C const uint8_t *src)
.text
ALIGN(16)
C _camellia_crypt(struct camellia_context *ctx,
C const struct camellia_table *T,
- C unsigned length, uint8_t *dst,
+ C size_t length, uint8_t *dst,
C uint8_t *src)
.text
ALIGN(16)
C _camellia_crypt(struct camellia_context *ctx,
C const struct camellia_table *T,
- C unsigned length, uint8_t *dst,
+ C size_t length, uint8_t *dst,
C uint8_t *src)
.text
ALIGN(16)
.file "salsa20-crypt.asm"
- C salsa20_crypt(struct salsa20_ctx *ctx, unsigned length,
+ C salsa20_crypt(struct salsa20_ctx *ctx, size_t length,
C uint8_t *dst, const uint8_t *src)
.text
ALIGN(16)
.file "serpent-decrypt.asm"
C serpent_decrypt(struct serpent_context *ctx,
- C unsigned length, uint8_t *dst,
+ C size_t length, uint8_t *dst,
C const uint8_t *src)
.text
ALIGN(16)
.file "serpent-encrypt.asm"
C serpent_encrypt(struct serpent_context *ctx,
- C unsigned length, uint8_t *dst,
+ C size_t length, uint8_t *dst,
C const uint8_t *src)
.text
ALIGN(16)
.file "umac-nh-n.asm"
C umac_nh_n(uint64_t *out, unsigned n, const uint32_t *key,
- C unsigned length, const uint8_t *msg)
+ C size_t length, const uint8_t *msg)
.text
ALIGN(16)
PROLOGUE(_nettle_umac_nh_n)
.file "umac-nh.asm"
- C umac_nh(const uint32_t *key, unsigned length, const uint8_t *msg)
+ C umac_nh(const uint32_t *key, size_t length, const uint8_t *msg)
.text
ALIGN(16)
PROLOGUE(_nettle_umac_nh)