1# Copyright 1999-2017 The OpenSSL Project Authors. All Rights Reserved. 2# 3# Licensed under the OpenSSL license (the "License"). You may not use 4# this file except in compliance with the License. You can obtain a copy 5# in the file LICENSE in the source distribution or at 6# https://www.openssl.org/source/license.html 7 8# Function codes 9AFALG_F_AFALG_CHK_PLATFORM:100:afalg_chk_platform 10AFALG_F_AFALG_CREATE_SK:101:afalg_create_sk 11AFALG_F_AFALG_INIT_AIO:102:afalg_init_aio 12AFALG_F_AFALG_SETUP_ASYNC_EVENT_NOTIFICATION:103:\ 13 afalg_setup_async_event_notification 14AFALG_F_AFALG_SET_KEY:104:afalg_set_key 15AFALG_F_BIND_AFALG:105:bind_afalg 16 17#Reason codes 18AFALG_R_EVENTFD_FAILED:108:eventfd failed 19AFALG_R_FAILED_TO_GET_PLATFORM_INFO:111:failed to get platform info 20AFALG_R_INIT_FAILED:100:init failed 21AFALG_R_IO_SETUP_FAILED:105:io setup failed 22AFALG_R_KERNEL_DOES_NOT_SUPPORT_AFALG:101:kernel does not support afalg 23AFALG_R_KERNEL_DOES_NOT_SUPPORT_ASYNC_AFALG:107:\ 24 kernel does not support async afalg 25AFALG_R_MEM_ALLOC_FAILED:102:mem alloc failed 26AFALG_R_SOCKET_ACCEPT_FAILED:110:socket accept failed 27AFALG_R_SOCKET_BIND_FAILED:103:socket bind failed 28AFALG_R_SOCKET_CREATE_FAILED:109:socket create failed 29AFALG_R_SOCKET_OPERATION_FAILED:104:socket operation failed 30AFALG_R_SOCKET_SET_KEY_FAILED:106:socket set key failed 31