crypto: add further constants to the contract
masterpasswordlength
iterations
salt length
crypto algorithm
mode of operation
Related to .
@@ -17,3 +17,10 @@ keyNew ("system/elektra/modules/" ELEKTRA_PLUGIN_NAME, KEY_VALUE, "crypto plugin
keyNew ("system/elektra/modules/" ELEKTRA_PLUGIN_NAME "/infos/version", KEY_VALUE, PLUGINVERSION, KEY_END),
keyNew ("system/elektra/modules/" ELEKTRA_PLUGIN_NAME "/constants/PAYLOAD_VERSION", KEY_VALUE, ELEKTRA_CRYPTO_PAYLOAD_VERSION,
KEY_END),
+ keyNew ("system/elektra/modules/" ELEKTRA_PLUGIN_NAME "/constants/masterpasswordlength", KEY_VALUE,
+ ELEKTRA_CRYPTO_DEFAULT_MASTER_PWD_LENGTH, KEY_END),
+ keyNew ("system/elektra/modules/" ELEKTRA_PLUGIN_NAME "/constants/iterations", KEY_VALUE, ELEKTRA_CRYPTO_DEFAULT_ITERATION_COUNT,
+ KEY_END),
+ keyNew ("system/elektra/modules/" ELEKTRA_PLUGIN_NAME "/constants/saltlength", KEY_VALUE, ELEKTRA_CRYPTO_DEFAULT_SALT_LEN, KEY_END),
+ keyNew ("system/elektra/modules/" ELEKTRA_PLUGIN_NAME "/constants/algorithm", KEY_VALUE, "AES256", KEY_END),
+ keyNew ("system/elektra/modules/" ELEKTRA_PLUGIN_NAME "/constants/mode", KEY_VALUE, "CBC", KEY_END),
