Functions |
| int | R_CR_CTX_new (R_LIB_CTX *lib_ctx, R_RES_FLAG flag, R_CR_CTX **crypto_ctx) |
| | Creates a cryptographic context by requesting the CRYPTO resource from the library module and initializing the context. More...
|
| int | R_CR_CTX_free (R_CR_CTX *ctx) |
| | Frees all resources allocated to the cryptographic context. More...
|
| int | R_CR_new (R_CR_CTX *ctx, R_CR_ALG_TYPE alg_type, R_CR_ALG_ID alg_id, R_CR_ALG_SUB alg_sub, R_CR **crypto) |
| | Creates a cryptographic object that provides access to a specific cryptographic algorithm identified by the algorithm type, identifier, and sub-identifier. More...
|
| int | R_CR_dup (R_CR *crypto, R_CR **new_crypto) |
| | Duplicates a cryptographic object by allocating resources for the new object and copying values from the old. More...
|
| int | R_CR_free (R_CR *crypto) |
| | Frees all resources allocated to the cryptographic object. More...
|
| int | R_CR_get_info (R_CR *crypto, int id, void *param) |
| | Retrieves information about a cryptographic object by providing read access to algorithm-specific attributes such as key or block size. More...
|
| int | R_CR_set_info (R_CR *crypto, int id, void *param) |
| | Sets information about a cryptographic object by providing write access to algorithm-specific attributes like key or block size. More...
|
| int | R_CR_CTX_get_info (R_CR_CTX *ctx, int id, void *param) |
| | Uses the identifier to retrieve information from a cryptographic object context. More...
|
| int | R_CR_CTX_set_info (R_CR_CTX *ctx, int id, void *param) |
| | Uses the identifier to set information into a cryptographic object context. More...
|
| int | R_CR_CTX_alg_supported (R_CR_CTX *ctx, int alg_type, int alg_id, int alg_sub, int *is_supported) |
| | Determines if the method for a selected algorithm and operation is available. More...
|
| int | R_CR_CTX_ids_to_sig_id (R_CR_CTX *ctx, int dig_id, int pkey_id, int *sig_id) |
| | Retrieves the sign/verify identifier for a given digest and asymmetric identifier pair. More...
|
| int | R_CR_CTX_ids_from_sig_id (R_CR_CTX *ctx, int sig_id, int *dig_id, int *pkey_id) |
| | Retrieves the digest and asymmetric identifier pair for a given sign/verify identifier. More...
|
| int | R_CR_ID_from_string (char *str, R_CR_ALG_ID *type) |
| | Returns the algorithm identifier for the string str. More...
|
| int | R_CR_ID_to_string (R_CR_ALG_ID type, size_t max_str_len, char *str) |
| | Returns the string str for an algorithm identifier type. More...
|
| int | R_CR_TYPE_from_string (char *str, R_CR_ALG_TYPE *type) |
| | Returns the algorithm type for the string str. More...
|
| int | R_CR_TYPE_to_string (R_CR_ALG_TYPE type, size_t max_str_len, char *str) |
| | Returns the string str for an algorithm type identifier type. More...
|
| int | R_CR_SUB_from_string (char *str, R_CR_ALG_SUB *type) |
| | Returns the algorithm subtype identifier for the string str. More...
|
| int | R_CR_SUB_to_string (R_CR_ALG_SUB type, size_t max_str_len, char *str) |
| | Returns the string str for an algorithm subtype identifier type. More...
|
| R_CR_METHOD* | R_CR_get_default_method (void *imp_data) |
| | Retrieves the default method table. More...
|
| void | R_CR_RES_CRYPTO_CUSTOM_METHOD (R_CR_METHOD *(*meth_fn)(void), R_CR_IMP_METHOD *(*alg_fn)(void)) |
| | Binds a custom algorithm list and method table to the cryptographic module. More...
|
| R_CR_IMP_METHOD * | R_CR_DEFINE_CUSTOM_CIPHER_LIST (R_CR_IMP_METHOD list, void fn) |
| | Creates a function to return the custom algorithms. More...
|
| R_CR_METHOD * | R_CR_DEFINE_CUSTOM_METHOD_TABLE (R_CR_METHOD list, void fn) |
| | Creates a function to return the custom methods. More...
|