Noise-C
 All Data Structures Files Functions Variables Typedefs Macros Groups Pages
Functions
names.c File Reference

Implementation of algorithm name mapping. More...

#include "internal.h"
#include <string.h>

Go to the source code of this file.

Functions

const char * noise_id_to_name (int category, int id)
 Maps an algorithm identifier to the corresponding name. More...
 
int noise_name_to_id (int category, const char *name, size_t name_len)
 Maps an algorithm name to the corresponding identifier. More...
 
int noise_protocol_id_to_name (char *name, size_t name_len, const NoiseProtocolId *id)
 Formats a protocol name from a set of identifiers for the algorithms that make up the name. More...
 
int noise_protocol_name_to_id (NoiseProtocolId *id, const char *name, size_t name_len)
 Parses a protocol name into a set of identifiers for the algorithms that are indicated by the name. More...
 

Detailed Description

Implementation of algorithm name mapping.

Definition in file names.c.