]> git.cryptolib.org Git - avr-crypto-lib.git/blobdiff - keysize_descriptor.h
+gcm128
[avr-crypto-lib.git] / keysize_descriptor.h
index ecb3761555fb7d4145057256cc8e75108781118a..af5e38395ad72a7c3042c4d954309a48c942ff53 100644 (file)
@@ -1,6 +1,6 @@
 /* keysize_descriptor.h */
 /*
-    This file is part of the Crypto-avr-lib/microcrypt-lib.
+    This file is part of the AVR-Crypto-Lib.
     Copyright (C) 2009  Daniel Otte (daniel.otte@rub.de)
 
     This program is free software: you can redistribute it and/or modify
@@ -55,5 +55,8 @@ typedef struct{ /* keysize is valid if min<=keysize<=max and if keysize mod dist
 }keysize_desc_arg_range_t;
 
 uint8_t is_valid_keysize_P(PGM_VOID_P ks_desc, uint16_t keysize);
+uint16_t get_keysize(PGM_VOID_P ks_desc);
+uint16_t get_keysizes(PGM_VOID_P ks_desc, uint16_t** list);
+
 
 #endif /* KEYSIZE_DESCRIPTOR_H_ */