rho-tau-extensions 5.5.17
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/CHANGELOG.md +2 -0
- data/LICENSE +21 -0
- data/README.md +6 -0
- data/Rakefile +90 -0
- data/libs/crosswalk.rb +2 -0
- data/libs/crosswalk/crosswalk.rb +2 -0
- data/libs/crosswalk/ext.yml +21 -0
- data/libs/crosswalk/ext/Crosswalk.xml +27 -0
- data/libs/crosswalk/ext/build +19 -0
- data/libs/crosswalk/ext/build.bat +29 -0
- data/libs/crosswalk/ext/platform/android/AndroidManifest.xml +9 -0
- data/libs/crosswalk/ext/platform/android/Rakefile +141 -0
- data/libs/crosswalk/ext/platform/android/adds/lib/armeabi/libxwalkcore.so +0 -0
- data/libs/crosswalk/ext/platform/android/adds/lib/armeabi/libxwalkdummy.so +0 -0
- data/libs/crosswalk/ext/platform/android/adds/lib/x86/libxwalkcore.so +0 -0
- data/libs/crosswalk/ext/platform/android/adds/lib/x86/libxwalkdummy.so +0 -0
- data/libs/crosswalk/ext/platform/android/adds/lib/xwalk_core_library_java.jar +0 -0
- data/libs/crosswalk/ext/platform/android/adds/res/drawable-hdpi/bubble.9.png +0 -0
- data/libs/crosswalk/ext/platform/android/adds/res/drawable-hdpi/bubble_arrow_up.png +0 -0
- data/libs/crosswalk/ext/platform/android/adds/res/drawable-hdpi/color_picker_advanced_select_handle.png +0 -0
- data/libs/crosswalk/ext/platform/android/adds/res/drawable-hdpi/crosswalk.png +0 -0
- data/libs/crosswalk/ext/platform/android/adds/res/drawable-hdpi/dropdown_popup_background_down.9.png +0 -0
- data/libs/crosswalk/ext/platform/android/adds/res/drawable-hdpi/dropdown_popup_background_up.9.png +0 -0
- data/libs/crosswalk/ext/platform/android/adds/res/drawable-hdpi/ic_menu_share_holo_light.png +0 -0
- data/libs/crosswalk/ext/platform/android/adds/res/drawable-hdpi/ic_search.png +0 -0
- data/libs/crosswalk/ext/platform/android/adds/res/drawable-hdpi/ic_warning.png +0 -0
- data/libs/crosswalk/ext/platform/android/adds/res/drawable-hdpi/ondemand_overlay.9.png +0 -0
- data/libs/crosswalk/ext/platform/android/adds/res/drawable-hdpi/verify_checkmark.png +0 -0
- data/libs/crosswalk/ext/platform/android/adds/res/drawable-ldpi/crosswalk.png +0 -0
- data/libs/crosswalk/ext/platform/android/adds/res/drawable-mdpi/crosswalk.png +0 -0
- data/libs/crosswalk/ext/platform/android/adds/res/drawable-v21/button_borderless_compat.xml +10 -0
- data/libs/crosswalk/ext/platform/android/adds/res/drawable-v21/button_compat.xml +9 -0
- data/libs/crosswalk/ext/platform/android/adds/res/drawable-xhdpi/bubble.9.png +0 -0
- data/libs/crosswalk/ext/platform/android/adds/res/drawable-xhdpi/bubble_arrow_up.png +0 -0
- data/libs/crosswalk/ext/platform/android/adds/res/drawable-xhdpi/color_picker_advanced_select_handle.png +0 -0
- data/libs/crosswalk/ext/platform/android/adds/res/drawable-xhdpi/crosswalk.png +0 -0
- data/libs/crosswalk/ext/platform/android/adds/res/drawable-xhdpi/dropdown_popup_background_down.9.png +0 -0
- data/libs/crosswalk/ext/platform/android/adds/res/drawable-xhdpi/dropdown_popup_background_up.9.png +0 -0
- data/libs/crosswalk/ext/platform/android/adds/res/drawable-xhdpi/ic_menu_share_holo_light.png +0 -0
- data/libs/crosswalk/ext/platform/android/adds/res/drawable-xhdpi/ic_search.png +0 -0
- data/libs/crosswalk/ext/platform/android/adds/res/drawable-xhdpi/ic_warning.png +0 -0
- data/libs/crosswalk/ext/platform/android/adds/res/drawable-xhdpi/ondemand_overlay.9.png +0 -0
- data/libs/crosswalk/ext/platform/android/adds/res/drawable-xhdpi/verify_checkmark.png +0 -0
- data/libs/crosswalk/ext/platform/android/adds/res/drawable-xxhdpi/ic_menu_share_holo_light.png +0 -0
- data/libs/crosswalk/ext/platform/android/adds/res/drawable-xxhdpi/ic_search.png +0 -0
- data/libs/crosswalk/ext/platform/android/adds/res/drawable-xxhdpi/ic_warning.png +0 -0
- data/libs/crosswalk/ext/platform/android/adds/res/drawable-xxhdpi/verify_checkmark.png +0 -0
- data/libs/crosswalk/ext/platform/android/adds/res/drawable-xxxhdpi/ic_menu_share_holo_light.png +0 -0
- data/libs/crosswalk/ext/platform/android/adds/res/drawable-xxxhdpi/ic_search.png +0 -0
- data/libs/crosswalk/ext/platform/android/adds/res/drawable-xxxhdpi/ic_warning.png +0 -0
- data/libs/crosswalk/ext/platform/android/adds/res/drawable-xxxhdpi/verify_checkmark.png +0 -0
- data/libs/crosswalk/ext/platform/android/adds/res/drawable/autofill_chip_inset.xml +15 -0
- data/libs/crosswalk/ext/platform/android/adds/res/drawable/bubble.9.png +0 -0
- data/libs/crosswalk/ext/platform/android/adds/res/drawable/bubble_arrow_up.png +0 -0
- data/libs/crosswalk/ext/platform/android/adds/res/drawable/button_compat_shape.xml +9 -0
- data/libs/crosswalk/ext/platform/android/adds/res/drawable/color_button_background.xml +36 -0
- data/libs/crosswalk/ext/platform/android/adds/res/drawable/color_picker_advanced_select_handle.png +0 -0
- data/libs/crosswalk/ext/platform/android/adds/res/drawable/color_picker_border.xml +12 -0
- data/libs/crosswalk/ext/platform/android/adds/res/drawable/dropdown_label_color.xml +11 -0
- data/libs/crosswalk/ext/platform/android/adds/res/drawable/dropdown_popup_background.xml +13 -0
- data/libs/crosswalk/ext/platform/android/adds/res/drawable/dropdown_popup_background_down.9.png +0 -0
- data/libs/crosswalk/ext/platform/android/adds/res/drawable/dropdown_popup_background_up.9.png +0 -0
- data/libs/crosswalk/ext/platform/android/adds/res/drawable/ic_menu_share_holo_light.png +0 -0
- data/libs/crosswalk/ext/platform/android/adds/res/drawable/ic_search.png +0 -0
- data/libs/crosswalk/ext/platform/android/adds/res/drawable/ic_warning.png +0 -0
- data/libs/crosswalk/ext/platform/android/adds/res/drawable/launchscreen_bg.xml +19 -0
- data/libs/crosswalk/ext/platform/android/adds/res/drawable/ondemand_overlay.9.png +0 -0
- data/libs/crosswalk/ext/platform/android/adds/res/drawable/verify_checkmark.png +0 -0
- data/libs/crosswalk/ext/platform/android/adds/res/layout-land/date_time_picker_dialog.xml +42 -0
- data/libs/crosswalk/ext/platform/android/adds/res/layout-v17/autofill_keyboard_accessory_item.xml +40 -0
- data/libs/crosswalk/ext/platform/android/adds/res/layout-v17/autofill_suggestion_item.xml +18 -0
- data/libs/crosswalk/ext/platform/android/adds/res/layout-v17/color_picker_advanced_component.xml +46 -0
- data/libs/crosswalk/ext/platform/android/adds/res/layout-v17/color_picker_dialog_content.xml +51 -0
- data/libs/crosswalk/ext/platform/android/adds/res/layout-v17/color_picker_dialog_title.xml +41 -0
- data/libs/crosswalk/ext/platform/android/adds/res/layout-v17/date_time_suggestion.xml +35 -0
- data/libs/crosswalk/ext/platform/android/adds/res/layout-v17/dropdown_item.xml +58 -0
- data/libs/crosswalk/ext/platform/android/adds/res/layout-v17/multi_field_time_picker_dialog.xml +122 -0
- data/libs/crosswalk/ext/platform/android/adds/res/layout-v17/two_field_date_picker.xml +38 -0
- data/libs/crosswalk/ext/platform/android/adds/res/layout-v17/validation_message_bubble.xml +72 -0
- data/libs/crosswalk/ext/platform/android/adds/res/layout/autofill_keyboard_accessory_icon.xml +13 -0
- data/libs/crosswalk/ext/platform/android/adds/res/layout/autofill_keyboard_accessory_item.xml +17 -0
- data/libs/crosswalk/ext/platform/android/adds/res/layout/autofill_suggestion_item.xml +7 -0
- data/libs/crosswalk/ext/platform/android/adds/res/layout/color_picker_advanced_component.xml +30 -0
- data/libs/crosswalk/ext/platform/android/adds/res/layout/color_picker_dialog_content.xml +36 -0
- data/libs/crosswalk/ext/platform/android/adds/res/layout/color_picker_dialog_title.xml +25 -0
- data/libs/crosswalk/ext/platform/android/adds/res/layout/date_time_picker_dialog.xml +42 -0
- data/libs/crosswalk/ext/platform/android/adds/res/layout/date_time_suggestion.xml +16 -0
- data/libs/crosswalk/ext/platform/android/adds/res/layout/dropdown_item.xml +34 -0
- data/libs/crosswalk/ext/platform/android/adds/res/layout/multi_field_time_picker_dialog.xml +50 -0
- data/libs/crosswalk/ext/platform/android/adds/res/layout/two_field_date_picker.xml +26 -0
- data/libs/crosswalk/ext/platform/android/adds/res/layout/validation_message_bubble.xml +47 -0
- data/libs/crosswalk/ext/platform/android/adds/res/menu/select_action_menu.xml +54 -0
- data/libs/crosswalk/ext/platform/android/adds/res/raw/contacts_api.js +206 -0
- data/libs/crosswalk/ext/platform/android/adds/res/raw/device_capabilities_api.js +231 -0
- data/libs/crosswalk/ext/platform/android/adds/res/raw/empty.wav +0 -0
- data/libs/crosswalk/ext/platform/android/adds/res/raw/icudtl.dat +0 -0
- data/libs/crosswalk/ext/platform/android/adds/res/raw/launch_screen_api.js +9 -0
- data/libs/crosswalk/ext/platform/android/adds/res/raw/messaging_api.js +359 -0
- data/libs/crosswalk/ext/platform/android/adds/res/raw/presentation_api.js +144 -0
- data/libs/crosswalk/ext/platform/android/adds/res/raw/wifidirect_api.js +227 -0
- data/libs/crosswalk/ext/platform/android/adds/res/raw/xwalk.pak +0 -0
- data/libs/crosswalk/ext/platform/android/adds/res/values-am/android_content_strings.xml +15 -0
- data/libs/crosswalk/ext/platform/android/adds/res/values-am/android_ui_strings.xml +47 -0
- data/libs/crosswalk/ext/platform/android/adds/res/values-ar/android_content_strings.xml +15 -0
- data/libs/crosswalk/ext/platform/android/adds/res/values-ar/android_ui_strings.xml +47 -0
- data/libs/crosswalk/ext/platform/android/adds/res/values-bg/android_content_strings.xml +15 -0
- data/libs/crosswalk/ext/platform/android/adds/res/values-bg/android_ui_strings.xml +47 -0
- data/libs/crosswalk/ext/platform/android/adds/res/values-ca/android_content_strings.xml +15 -0
- data/libs/crosswalk/ext/platform/android/adds/res/values-ca/android_ui_strings.xml +47 -0
- data/libs/crosswalk/ext/platform/android/adds/res/values-cs/android_content_strings.xml +15 -0
- data/libs/crosswalk/ext/platform/android/adds/res/values-cs/android_ui_strings.xml +47 -0
- data/libs/crosswalk/ext/platform/android/adds/res/values-da/android_content_strings.xml +15 -0
- data/libs/crosswalk/ext/platform/android/adds/res/values-da/android_ui_strings.xml +47 -0
- data/libs/crosswalk/ext/platform/android/adds/res/values-de/android_content_strings.xml +15 -0
- data/libs/crosswalk/ext/platform/android/adds/res/values-de/android_ui_strings.xml +47 -0
- data/libs/crosswalk/ext/platform/android/adds/res/values-el/android_content_strings.xml +15 -0
- data/libs/crosswalk/ext/platform/android/adds/res/values-el/android_ui_strings.xml +47 -0
- data/libs/crosswalk/ext/platform/android/adds/res/values-en-rGB/android_content_strings.xml +15 -0
- data/libs/crosswalk/ext/platform/android/adds/res/values-en-rGB/android_ui_strings.xml +47 -0
- data/libs/crosswalk/ext/platform/android/adds/res/values-es-rUS/android_content_strings.xml +15 -0
- data/libs/crosswalk/ext/platform/android/adds/res/values-es-rUS/android_ui_strings.xml +47 -0
- data/libs/crosswalk/ext/platform/android/adds/res/values-es/android_content_strings.xml +15 -0
- data/libs/crosswalk/ext/platform/android/adds/res/values-es/android_ui_strings.xml +47 -0
- data/libs/crosswalk/ext/platform/android/adds/res/values-fa/android_content_strings.xml +15 -0
- data/libs/crosswalk/ext/platform/android/adds/res/values-fa/android_ui_strings.xml +47 -0
- data/libs/crosswalk/ext/platform/android/adds/res/values-fi/android_content_strings.xml +15 -0
- data/libs/crosswalk/ext/platform/android/adds/res/values-fi/android_ui_strings.xml +47 -0
- data/libs/crosswalk/ext/platform/android/adds/res/values-fr/android_content_strings.xml +15 -0
- data/libs/crosswalk/ext/platform/android/adds/res/values-fr/android_ui_strings.xml +47 -0
- data/libs/crosswalk/ext/platform/android/adds/res/values-hi/android_content_strings.xml +15 -0
- data/libs/crosswalk/ext/platform/android/adds/res/values-hi/android_ui_strings.xml +47 -0
- data/libs/crosswalk/ext/platform/android/adds/res/values-hr/android_content_strings.xml +15 -0
- data/libs/crosswalk/ext/platform/android/adds/res/values-hr/android_ui_strings.xml +47 -0
- data/libs/crosswalk/ext/platform/android/adds/res/values-hu/android_content_strings.xml +15 -0
- data/libs/crosswalk/ext/platform/android/adds/res/values-hu/android_ui_strings.xml +47 -0
- data/libs/crosswalk/ext/platform/android/adds/res/values-in/android_content_strings.xml +15 -0
- data/libs/crosswalk/ext/platform/android/adds/res/values-in/android_ui_strings.xml +47 -0
- data/libs/crosswalk/ext/platform/android/adds/res/values-it/android_content_strings.xml +15 -0
- data/libs/crosswalk/ext/platform/android/adds/res/values-it/android_ui_strings.xml +47 -0
- data/libs/crosswalk/ext/platform/android/adds/res/values-iw/android_content_strings.xml +15 -0
- data/libs/crosswalk/ext/platform/android/adds/res/values-iw/android_ui_strings.xml +47 -0
- data/libs/crosswalk/ext/platform/android/adds/res/values-ja/android_content_strings.xml +15 -0
- data/libs/crosswalk/ext/platform/android/adds/res/values-ja/android_ui_strings.xml +47 -0
- data/libs/crosswalk/ext/platform/android/adds/res/values-ko/android_content_strings.xml +15 -0
- data/libs/crosswalk/ext/platform/android/adds/res/values-ko/android_ui_strings.xml +47 -0
- data/libs/crosswalk/ext/platform/android/adds/res/values-lt/android_content_strings.xml +15 -0
- data/libs/crosswalk/ext/platform/android/adds/res/values-lt/android_ui_strings.xml +47 -0
- data/libs/crosswalk/ext/platform/android/adds/res/values-lv/android_content_strings.xml +15 -0
- data/libs/crosswalk/ext/platform/android/adds/res/values-lv/android_ui_strings.xml +47 -0
- data/libs/crosswalk/ext/platform/android/adds/res/values-nb/android_content_strings.xml +15 -0
- data/libs/crosswalk/ext/platform/android/adds/res/values-nb/android_ui_strings.xml +47 -0
- data/libs/crosswalk/ext/platform/android/adds/res/values-nl/android_content_strings.xml +15 -0
- data/libs/crosswalk/ext/platform/android/adds/res/values-nl/android_ui_strings.xml +47 -0
- data/libs/crosswalk/ext/platform/android/adds/res/values-pl/android_content_strings.xml +15 -0
- data/libs/crosswalk/ext/platform/android/adds/res/values-pl/android_ui_strings.xml +47 -0
- data/libs/crosswalk/ext/platform/android/adds/res/values-pt-rBR/android_content_strings.xml +15 -0
- data/libs/crosswalk/ext/platform/android/adds/res/values-pt-rBR/android_ui_strings.xml +47 -0
- data/libs/crosswalk/ext/platform/android/adds/res/values-pt-rPT/android_content_strings.xml +15 -0
- data/libs/crosswalk/ext/platform/android/adds/res/values-pt-rPT/android_ui_strings.xml +47 -0
- data/libs/crosswalk/ext/platform/android/adds/res/values-ro/android_content_strings.xml +15 -0
- data/libs/crosswalk/ext/platform/android/adds/res/values-ro/android_ui_strings.xml +47 -0
- data/libs/crosswalk/ext/platform/android/adds/res/values-ru/android_content_strings.xml +15 -0
- data/libs/crosswalk/ext/platform/android/adds/res/values-ru/android_ui_strings.xml +47 -0
- data/libs/crosswalk/ext/platform/android/adds/res/values-sk/android_content_strings.xml +15 -0
- data/libs/crosswalk/ext/platform/android/adds/res/values-sk/android_ui_strings.xml +47 -0
- data/libs/crosswalk/ext/platform/android/adds/res/values-sl/android_content_strings.xml +15 -0
- data/libs/crosswalk/ext/platform/android/adds/res/values-sl/android_ui_strings.xml +47 -0
- data/libs/crosswalk/ext/platform/android/adds/res/values-sr/android_content_strings.xml +15 -0
- data/libs/crosswalk/ext/platform/android/adds/res/values-sr/android_ui_strings.xml +47 -0
- data/libs/crosswalk/ext/platform/android/adds/res/values-sv/android_content_strings.xml +15 -0
- data/libs/crosswalk/ext/platform/android/adds/res/values-sv/android_ui_strings.xml +47 -0
- data/libs/crosswalk/ext/platform/android/adds/res/values-sw/android_content_strings.xml +15 -0
- data/libs/crosswalk/ext/platform/android/adds/res/values-sw/android_ui_strings.xml +47 -0
- data/libs/crosswalk/ext/platform/android/adds/res/values-th/android_content_strings.xml +15 -0
- data/libs/crosswalk/ext/platform/android/adds/res/values-th/android_ui_strings.xml +47 -0
- data/libs/crosswalk/ext/platform/android/adds/res/values-tl/android_content_strings.xml +15 -0
- data/libs/crosswalk/ext/platform/android/adds/res/values-tl/android_ui_strings.xml +47 -0
- data/libs/crosswalk/ext/platform/android/adds/res/values-tr/android_content_strings.xml +15 -0
- data/libs/crosswalk/ext/platform/android/adds/res/values-tr/android_ui_strings.xml +47 -0
- data/libs/crosswalk/ext/platform/android/adds/res/values-uk/android_content_strings.xml +15 -0
- data/libs/crosswalk/ext/platform/android/adds/res/values-uk/android_ui_strings.xml +47 -0
- data/libs/crosswalk/ext/platform/android/adds/res/values-v14/theme.xml +16 -0
- data/libs/crosswalk/ext/platform/android/adds/res/values-v17/styles.xml +19 -0
- data/libs/crosswalk/ext/platform/android/adds/res/values-v17/ui_java_styles.xml +41 -0
- data/libs/crosswalk/ext/platform/android/adds/res/values-v21/styles.xml +14 -0
- data/libs/crosswalk/ext/platform/android/adds/res/values-v21/ui_java_styles.xml +14 -0
- data/libs/crosswalk/ext/platform/android/adds/res/values-vi/android_content_strings.xml +15 -0
- data/libs/crosswalk/ext/platform/android/adds/res/values-vi/android_ui_strings.xml +47 -0
- data/libs/crosswalk/ext/platform/android/adds/res/values-zh-rCN/android_content_strings.xml +15 -0
- data/libs/crosswalk/ext/platform/android/adds/res/values-zh-rCN/android_ui_strings.xml +47 -0
- data/libs/crosswalk/ext/platform/android/adds/res/values-zh-rTW/android_content_strings.xml +15 -0
- data/libs/crosswalk/ext/platform/android/adds/res/values-zh-rTW/android_ui_strings.xml +47 -0
- data/libs/crosswalk/ext/platform/android/adds/res/values/android_content_strings.xml +15 -0
- data/libs/crosswalk/ext/platform/android/adds/res/values/android_ui_strings.xml +47 -0
- data/libs/crosswalk/ext/platform/android/adds/res/values/android_xwalk_strings.xml +17 -0
- data/libs/crosswalk/ext/platform/android/adds/res/values/ui_java_attrs.xml +9 -0
- data/libs/crosswalk/ext/platform/android/adds/res/values/ui_java_dimens.xml +31 -0
- data/libs/crosswalk/ext/platform/android/adds/res/values/ui_java_strings.xml +16 -0
- data/libs/crosswalk/ext/platform/android/adds/res/values/ui_java_styles.xml +101 -0
- data/libs/crosswalk/ext/platform/android/adds/res/values/xwalk_app_strings.xml +28 -0
- data/libs/crosswalk/ext/platform/android/adds/res/values/xwalk_attrs.xml +11 -0
- data/libs/crosswalk/ext/platform/android/adds/res/values/xwalk_colors.xml +13 -0
- data/libs/crosswalk/ext/platform/android/adds/res/values/xwalk_core_internal_java_strings.xml +16 -0
- data/libs/crosswalk/ext/platform/android/adds/res/values/xwalk_core_java_strings.xml +16 -0
- data/libs/crosswalk/ext/platform/android/adds/res/values/xwalk_dimens.xml +11 -0
- data/libs/crosswalk/ext/platform/android/adds/res/values/xwalk_resources_list.xml +7 -0
- data/libs/crosswalk/ext/platform/android/adds/res/values/xwalk_styles.xml +40 -0
- data/libs/crosswalk/ext/platform/android/adds/res/values/xwalk_values.xml +10 -0
- data/libs/crosswalk/ext/platform/android/ext_java.files +14 -0
- data/libs/crosswalk/ext/platform/android/ext_native.files +7 -0
- data/libs/crosswalk/ext/platform/android/jni/Crosswalk_impl.cpp +61 -0
- data/libs/crosswalk/ext/platform/android/src/com/rho/crosswalk/Crosswalk.java +14 -0
- data/libs/crosswalk/ext/platform/android/src/com/rho/crosswalk/CrosswalkFactory.java +18 -0
- data/libs/crosswalk/ext/platform/android/src/com/rho/crosswalk/CrosswalkSingleton.java +24 -0
- data/libs/crosswalk/ext/platform/android/src/com/tautechnologies/tau/crosswalk/CrosswalkExtension.java +16 -0
- data/libs/crosswalk/ext/platform/android/src/com/tautechnologies/tau/crosswalk/RhodesListener.java +18 -0
- data/libs/crosswalk/ext/platform/android/src/com/tautechnologies/tau/crosswalk/TauXWResourceClient.java +182 -0
- data/libs/crosswalk/ext/platform/android/src/com/tautechnologies/tau/crosswalk/TauXWUIClient.java +125 -0
- data/libs/crosswalk/ext/platform/android/src/com/tautechnologies/tau/crosswalk/TauXWalkWebView.java +368 -0
- data/libs/crosswalk/ext/platform/iphone/Crosswalk.xcodeproj/project.pbxproj +368 -0
- data/libs/crosswalk/ext/platform/iphone/Crosswalk_Prefix.pch +7 -0
- data/libs/crosswalk/ext/platform/iphone/Rakefile +73 -0
- data/libs/crosswalk/ext/platform/iphone/impl/Crosswalk.h +14 -0
- data/libs/crosswalk/ext/platform/iphone/impl/Crosswalk.m +24 -0
- data/libs/crosswalk/ext/platform/iphone/impl/CrosswalkFactorySingleton.m +16 -0
- data/libs/crosswalk/ext/platform/iphone/impl/CrosswalkSetup.m +9 -0
- data/libs/crosswalk/ext/platform/iphone/impl/CrosswalkSingleton.h +17 -0
- data/libs/crosswalk/ext/platform/iphone/impl/CrosswalkSingleton.m +23 -0
- data/libs/crosswalk/ext/platform/iphone/impl/readme.txt +7 -0
- data/libs/crosswalk/ext/platform/qt/Crosswalk.pro +66 -0
- data/libs/crosswalk/ext/platform/qt/Rakefile +35 -0
- data/libs/crosswalk/ext/platform/qt/src/Crosswalk_impl.cpp +77 -0
- data/libs/crosswalk/ext/platform/wm/Crosswalk.sln +52 -0
- data/libs/crosswalk/ext/platform/wm/Crosswalk.vcproj +714 -0
- data/libs/crosswalk/ext/platform/wm/Crosswalk.vsprops +15 -0
- data/libs/crosswalk/ext/platform/wm/src/Crosswalk_impl.cpp +77 -0
- data/libs/crosswalk/ext/platform/wp8/Crosswalk.props +18 -0
- data/libs/crosswalk/ext/platform/wp8/Crosswalk.vcxproj +170 -0
- data/libs/crosswalk/ext/platform/wp8/Crosswalk.vcxproj.filters +50 -0
- data/libs/crosswalk/ext/platform/wp8/CrosswalkImpl.csproj +119 -0
- data/libs/crosswalk/ext/platform/wp8/CrosswalkImpl.props +8 -0
- data/libs/crosswalk/ext/platform/wp8/CrosswalkImpl.targets +7 -0
- data/libs/crosswalk/ext/platform/wp8/CrosswalkLib.props +18 -0
- data/libs/crosswalk/ext/platform/wp8/CrosswalkLib.vcxproj +185 -0
- data/libs/crosswalk/ext/platform/wp8/CrosswalkLib.vcxproj.filters +58 -0
- data/libs/crosswalk/ext/platform/wp8/src/Crosswalk_impl.cpp +76 -0
- data/libs/crosswalk/ext/platform/wp8/src/Crosswalk_impl.cs +69 -0
- data/libs/crosswalk/ext/platform/wp8/src/Properties/AssemblyInfo.cs +37 -0
- data/libs/enterprise-barcode/ext.yml +13 -0
- data/libs/enterprise-barcode/ext/barcode.xml +2144 -0
- data/libs/enterprise-barcode/ext/build +17 -0
- data/libs/enterprise-barcode/ext/build.bat +29 -0
- data/libs/enterprise-barcode/ext/platform/android/AndroidManifest.xml +31 -0
- data/libs/enterprise-barcode/ext/platform/android/ZXing_Info/AUTHORS +58 -0
- data/libs/enterprise-barcode/ext/platform/android/ZXing_Info/CHANGES +266 -0
- data/libs/enterprise-barcode/ext/platform/android/ZXing_Info/COPYING +201 -0
- data/libs/enterprise-barcode/ext/platform/android/ZXing_Info/README +11 -0
- data/libs/enterprise-barcode/ext/platform/android/additional_files/res/drawable-hdpi/cancel_icon.png +0 -0
- data/libs/enterprise-barcode/ext/platform/android/additional_files/res/drawable-hdpi/ok_icon.png +0 -0
- data/libs/enterprise-barcode/ext/platform/android/additional_files/res/drawable-hdpi/retake_icon.png +0 -0
- data/libs/enterprise-barcode/ext/platform/android/additional_files/res/drawable/cancel_icon.png +0 -0
- data/libs/enterprise-barcode/ext/platform/android/additional_files/res/drawable/ok_icon.png +0 -0
- data/libs/enterprise-barcode/ext/platform/android/additional_files/res/drawable/retake_icon.png +0 -0
- data/libs/enterprise-barcode/ext/platform/android/additional_files/res/layout/capture.xml +122 -0
- data/libs/enterprise-barcode/ext/platform/android/additional_files/res/raw/beep.ogg +0 -0
- data/libs/enterprise-barcode/ext/platform/android/additional_files/res/values/attrs.xml +20 -0
- data/libs/enterprise-barcode/ext/platform/android/additional_files/res/values/colors.xml +42 -0
- data/libs/enterprise-barcode/ext/platform/android/additional_files/res/values/ids.xml +31 -0
- data/libs/enterprise-barcode/ext/platform/android/adds/lib/armeabi/liballbarcode.a +0 -0
- data/libs/enterprise-barcode/ext/platform/android/adds/lib/x86/liballbarcode.a +0 -0
- data/libs/enterprise-barcode/ext/platform/android/allbarcode.jar +0 -0
- data/libs/enterprise-barcode/ext/platform/iphone/Barcode.xcodeproj/project.pbxproj +524 -0
- data/libs/enterprise-barcode/ext/platform/iphone/Barcode_Prefix.pch +7 -0
- data/libs/enterprise-barcode/ext/platform/iphone/Classes/BarcodeCallbackHelper.h +27 -0
- data/libs/enterprise-barcode/ext/platform/iphone/Classes/BarcodeCallbackHelper.mm +231 -0
- data/libs/enterprise-barcode/ext/platform/iphone/Classes/BarcodeViewController.h +95 -0
- data/libs/enterprise-barcode/ext/platform/iphone/Classes/BarcodeViewController.m +1017 -0
- data/libs/enterprise-barcode/ext/platform/iphone/Classes/BarcodeViewFactory.h +7 -0
- data/libs/enterprise-barcode/ext/platform/iphone/Classes/BarcodeViewFactory.mm +58 -0
- data/libs/enterprise-barcode/ext/platform/iphone/Classes/BarcodeViewFactoryRegister.mm +18 -0
- data/libs/enterprise-barcode/ext/platform/iphone/Classes/BarcodeViewManager.h +16 -0
- data/libs/enterprise-barcode/ext/platform/iphone/Classes/BarcodeViewManager.mm +32 -0
- data/libs/enterprise-barcode/ext/platform/iphone/Classes/ImageProvider.cpp +25 -0
- data/libs/enterprise-barcode/ext/platform/iphone/Classes/ImageProvider.h +15 -0
- data/libs/enterprise-barcode/ext/platform/iphone/Classes/ImageProvider.mm +159 -0
- data/libs/enterprise-barcode/ext/platform/iphone/Classes/barcode.m +123 -0
- data/libs/enterprise-barcode/ext/platform/iphone/Rakefile +69 -0
- data/libs/enterprise-barcode/ext/platform/iphone/ZBarSDK/COPYING +27 -0
- data/libs/enterprise-barcode/ext/platform/iphone/ZBarSDK/Headers/ZBarSDK/ZBarCameraSimulator.h +45 -0
- data/libs/enterprise-barcode/ext/platform/iphone/ZBarSDK/Headers/ZBarSDK/ZBarCaptureReader.h +111 -0
- data/libs/enterprise-barcode/ext/platform/iphone/ZBarSDK/Headers/ZBarSDK/ZBarHelpController.h +60 -0
- data/libs/enterprise-barcode/ext/platform/iphone/ZBarSDK/Headers/ZBarSDK/ZBarImage.h +69 -0
- data/libs/enterprise-barcode/ext/platform/iphone/ZBarSDK/Headers/ZBarSDK/ZBarImageScanner.h +51 -0
- data/libs/enterprise-barcode/ext/platform/iphone/ZBarSDK/Headers/ZBarSDK/ZBarReaderController.h +142 -0
- data/libs/enterprise-barcode/ext/platform/iphone/ZBarSDK/Headers/ZBarSDK/ZBarReaderView.h +135 -0
- data/libs/enterprise-barcode/ext/platform/iphone/ZBarSDK/Headers/ZBarSDK/ZBarReaderViewController.h +130 -0
- data/libs/enterprise-barcode/ext/platform/iphone/ZBarSDK/Headers/ZBarSDK/ZBarSDK.h +34 -0
- data/libs/enterprise-barcode/ext/platform/iphone/ZBarSDK/Headers/ZBarSDK/ZBarSymbol.h +71 -0
- data/libs/enterprise-barcode/ext/platform/iphone/ZBarSDK/Headers/ZBarSDK/zbar.h +1497 -0
- data/libs/enterprise-barcode/ext/platform/iphone/ZBarSDK/Headers/ZBarSDK/zbar/Decoder.h +202 -0
- data/libs/enterprise-barcode/ext/platform/iphone/ZBarSDK/Headers/ZBarSDK/zbar/Exception.h +187 -0
- data/libs/enterprise-barcode/ext/platform/iphone/ZBarSDK/Headers/ZBarSDK/zbar/Image.h +321 -0
- data/libs/enterprise-barcode/ext/platform/iphone/ZBarSDK/Headers/ZBarSDK/zbar/ImageScanner.h +130 -0
- data/libs/enterprise-barcode/ext/platform/iphone/ZBarSDK/Headers/ZBarSDK/zbar/Processor.h +223 -0
- data/libs/enterprise-barcode/ext/platform/iphone/ZBarSDK/Headers/ZBarSDK/zbar/Scanner.h +162 -0
- data/libs/enterprise-barcode/ext/platform/iphone/ZBarSDK/Headers/ZBarSDK/zbar/Symbol.h +528 -0
- data/libs/enterprise-barcode/ext/platform/iphone/ZBarSDK/Headers/ZBarSDK/zbar/Video.h +170 -0
- data/libs/enterprise-barcode/ext/platform/iphone/ZBarSDK/Headers/ZBarSDK/zbar/Window.h +136 -0
- data/libs/enterprise-barcode/ext/platform/iphone/ZBarSDK/LICENSE +504 -0
- data/libs/enterprise-barcode/ext/platform/iphone/ZBarSDK/README +59 -0
- data/libs/enterprise-barcode/ext/platform/iphone/ZBarSDK/Resources/zbar-back.png +0 -0
- data/libs/enterprise-barcode/ext/platform/iphone/ZBarSDK/Resources/zbar-help.html +88 -0
- data/libs/enterprise-barcode/ext/platform/iphone/ZBarSDK/Resources/zbar-helpicons.png +0 -0
- data/libs/enterprise-barcode/ext/platform/iphone/ZBarSDK/Resources/zbar-samples.png +0 -0
- data/libs/enterprise-barcode/ext/platform/iphone/ZBarSDK/libzbar.a +0 -0
- data/libs/enterprise-barcode/ext/platform/iphone/impl/Barcode.h +21 -0
- data/libs/enterprise-barcode/ext/platform/iphone/impl/Barcode.m +132 -0
- data/libs/enterprise-barcode/ext/platform/iphone/impl/BarcodeFactory.h +10 -0
- data/libs/enterprise-barcode/ext/platform/iphone/impl/BarcodeFactory.m +16 -0
- data/libs/enterprise-barcode/ext/platform/iphone/impl/BarcodeFactorySingleton.m +16 -0
- data/libs/enterprise-barcode/ext/platform/iphone/impl/BarcodeSetup.m +8 -0
- data/libs/enterprise-barcode/ext/platform/iphone/impl/BarcodeSingleton.h +17 -0
- data/libs/enterprise-barcode/ext/platform/iphone/impl/BarcodeSingleton.m +22 -0
- data/libs/enterprise-barcode/ext/platform/iphone/impl/readme.txt +7 -0
- data/libs/enterprise-barcode/ext/platform/wm/Barcode.sln +44 -0
- data/libs/enterprise-barcode/ext/platform/wm/Barcode.vcproj +836 -0
- data/libs/enterprise-barcode/ext/platform/wm/Barcode.vsprops +15 -0
- data/libs/enterprise-barcode/ext/platform/wm/readme.txt +0 -0
- data/libs/enterprise-barcode/ext/platform/wm/src/Barcode_impl.cpp +376 -0
- data/libs/enterprise-barcode/ext/platform/wm/src/DecodeNotifier.cpp +173 -0
- data/libs/enterprise-barcode/ext/platform/wm/src/DecodeNotifier.h +149 -0
- data/libs/enterprise-barcode/ext/platform/wm/src/EMDKInterfaceAbstraction.cpp +476 -0
- data/libs/enterprise-barcode/ext/platform/wm/src/GetDecoderProperties.cpp +1195 -0
- data/libs/enterprise-barcode/ext/platform/wm/src/GetScannerProperties.cpp +553 -0
- data/libs/enterprise-barcode/ext/platform/wm/src/KeyInjector.cpp +177 -0
- data/libs/enterprise-barcode/ext/platform/wm/src/KeyInjector.h +40 -0
- data/libs/enterprise-barcode/ext/platform/wm/src/NotificationLoader.cpp +76 -0
- data/libs/enterprise-barcode/ext/platform/wm/src/NotificationLoader.h +44 -0
- data/libs/enterprise-barcode/ext/platform/wm/src/RSM.cpp +1211 -0
- data/libs/enterprise-barcode/ext/platform/wm/src/Scanner.cpp +2609 -0
- data/libs/enterprise-barcode/ext/platform/wm/src/Scanner.h +1099 -0
- data/libs/enterprise-barcode/ext/platform/wm/src/ScannerDefines.h +322 -0
- data/libs/enterprise-barcode/ext/platform/wm/src/SetDecoderProperties.cpp +2106 -0
- data/libs/enterprise-barcode/ext/platform/wm/src/SetScannerProperties.cpp +1060 -0
- data/libs/enterprise-barcode/ext/platform/wm/src/Utilities.cpp +184 -0
- data/libs/enterprise-barcode/ext/platform/wp8/BarcodeImpl.csproj +119 -0
- data/libs/enterprise-barcode/ext/platform/wp8/BarcodeImpl.props +8 -0
- data/libs/enterprise-barcode/ext/platform/wp8/BarcodeImpl.targets +35 -0
- data/libs/enterprise-barcode/ext/platform/wp8/BarcodeLib.props +18 -0
- data/libs/enterprise-barcode/ext/platform/wp8/BarcodeLib.vcxproj +185 -0
- data/libs/enterprise-barcode/ext/platform/wp8/BarcodeLib.vcxproj.filters +58 -0
- data/libs/enterprise-barcode/ext/platform/wp8/lib/ARM/Nokia.Graphics.Imaging.dll +0 -0
- data/libs/enterprise-barcode/ext/platform/wp8/lib/ARM/Nokia.Graphics.Imaging.winmd +0 -0
- data/libs/enterprise-barcode/ext/platform/wp8/lib/ARM/Nokia.Graphics.Imaging.xml +4813 -0
- data/libs/enterprise-barcode/ext/platform/wp8/lib/ARM/Nokia.InteropServices.WindowsRuntime.dll +0 -0
- data/libs/enterprise-barcode/ext/platform/wp8/lib/ARM/Nokia.InteropServices.WindowsRuntime.winmd +0 -0
- data/libs/enterprise-barcode/ext/platform/wp8/lib/ARM/Nokia.InteropServices.WindowsRuntime.xml +41 -0
- data/libs/enterprise-barcode/ext/platform/wp8/lib/ARM/OpticalReaderLib.dll +0 -0
- data/libs/enterprise-barcode/ext/platform/wp8/lib/BarcodeReaderLib.XML +68 -0
- data/libs/enterprise-barcode/ext/platform/wp8/lib/BarcodeReaderLib.dll +0 -0
- data/libs/enterprise-barcode/ext/platform/wp8/lib/BarcodeReaderLib/BarcodeReaderLib.csproj +120 -0
- data/libs/enterprise-barcode/ext/platform/wp8/lib/BarcodeReaderLib/BarcodeReaderLib.sln +34 -0
- data/libs/enterprise-barcode/ext/platform/wp8/lib/BarcodeReaderLib/CameraNavigatePage.xaml +32 -0
- data/libs/enterprise-barcode/ext/platform/wp8/lib/BarcodeReaderLib/CameraNavigatePage.xaml.cs +235 -0
- data/libs/enterprise-barcode/ext/platform/wp8/lib/BarcodeReaderLib/OpticalReaderTask.cs +182 -0
- data/libs/enterprise-barcode/ext/platform/wp8/lib/BarcodeReaderLib/Properties/AssemblyInfo.cs +37 -0
- data/libs/enterprise-barcode/ext/platform/wp8/lib/Nokia.Graphics.Imaging.Managed.dll +0 -0
- data/libs/enterprise-barcode/ext/platform/wp8/lib/Nokia.Graphics.Imaging.Managed.xml +341 -0
- data/libs/enterprise-barcode/ext/platform/wp8/lib/x86/Nokia.Graphics.Imaging.dll +0 -0
- data/libs/enterprise-barcode/ext/platform/wp8/lib/x86/Nokia.Graphics.Imaging.winmd +0 -0
- data/libs/enterprise-barcode/ext/platform/wp8/lib/x86/Nokia.Graphics.Imaging.xml +4813 -0
- data/libs/enterprise-barcode/ext/platform/wp8/lib/x86/Nokia.InteropServices.WindowsRuntime.dll +0 -0
- data/libs/enterprise-barcode/ext/platform/wp8/lib/x86/Nokia.InteropServices.WindowsRuntime.winmd +0 -0
- data/libs/enterprise-barcode/ext/platform/wp8/lib/x86/Nokia.InteropServices.WindowsRuntime.xml +41 -0
- data/libs/enterprise-barcode/ext/platform/wp8/lib/x86/OpticalReaderLib.dll +0 -0
- data/libs/enterprise-barcode/ext/platform/wp8/lib/zxing.wp8.0.XML +10324 -0
- data/libs/enterprise-barcode/ext/platform/wp8/lib/zxing.wp8.0.dll +0 -0
- data/libs/enterprise-barcode/ext/platform/wp8/src/Barcode_impl.cs +630 -0
- data/libs/enterprise-barcode/ext/platform/wp8/src/Properties/AssemblyInfo.cs +37 -0
- data/libs/enterprise-barcode/public/api/generated/Rho.Barcode.js +772 -0
- data/libs/ie/rhobrowser.dll +0 -0
- data/libs/nodejs.rb +2 -0
- data/libs/nodejs/ext.yml +25 -0
- data/libs/nodejs/ext/Nodejs.xml +37 -0
- data/libs/nodejs/ext/build +19 -0
- data/libs/nodejs/ext/build.bat +29 -0
- data/libs/nodejs/ext/platform/android/Rakefile +161 -0
- data/libs/nodejs/ext/platform/android/ext_native.files +8 -0
- data/libs/nodejs/ext/platform/android/jxCore/jx.h +134 -0
- data/libs/nodejs/ext/platform/android/jxCore/jx_result.h +221 -0
- data/libs/nodejs/ext/platform/android/jxCore/libcares_arm.a +0 -0
- data/libs/nodejs/ext/platform/android/jxCore/libcares_ia32.a +0 -0
- data/libs/nodejs/ext/platform/android/jxCore/libcares_x64.a +0 -0
- data/libs/nodejs/ext/platform/android/jxCore/libchrome_zlib_arm.a +0 -0
- data/libs/nodejs/ext/platform/android/jxCore/libchrome_zlib_ia32.a +0 -0
- data/libs/nodejs/ext/platform/android/jxCore/libchrome_zlib_x64.a +0 -0
- data/libs/nodejs/ext/platform/android/jxCore/libhttp_parser_arm.a +0 -0
- data/libs/nodejs/ext/platform/android/jxCore/libhttp_parser_ia32.a +0 -0
- data/libs/nodejs/ext/platform/android/jxCore/libhttp_parser_x64.a +0 -0
- data/libs/nodejs/ext/platform/android/jxCore/libjx_arm.a +0 -0
- data/libs/nodejs/ext/platform/android/jxCore/libjx_ia32.a +0 -0
- data/libs/nodejs/ext/platform/android/jxCore/libjx_x64.a +0 -0
- data/libs/nodejs/ext/platform/android/jxCore/libopenssl_arm.a +0 -0
- data/libs/nodejs/ext/platform/android/jxCore/libopenssl_ia32.a +0 -0
- data/libs/nodejs/ext/platform/android/jxCore/libopenssl_x64.a +0 -0
- data/libs/nodejs/ext/platform/android/jxCore/libsqlite3_arm.a +0 -0
- data/libs/nodejs/ext/platform/android/jxCore/libsqlite3_ia32.a +0 -0
- data/libs/nodejs/ext/platform/android/jxCore/libsqlite3_x64.a +0 -0
- data/libs/nodejs/ext/platform/android/jxCore/libuv_arm.a +0 -0
- data/libs/nodejs/ext/platform/android/jxCore/libuv_ia32.a +0 -0
- data/libs/nodejs/ext/platform/android/jxCore/libuv_x64.a +0 -0
- data/libs/nodejs/ext/platform/android/jxCore/libv8_base_arm.a +0 -0
- data/libs/nodejs/ext/platform/android/jxCore/libv8_base_ia32.a +0 -0
- data/libs/nodejs/ext/platform/android/jxCore/libv8_base_x64.a +0 -0
- data/libs/nodejs/ext/platform/android/jxCore/libv8_nosnapshot_arm.a +0 -0
- data/libs/nodejs/ext/platform/android/jxCore/libv8_nosnapshot_ia32.a +0 -0
- data/libs/nodejs/ext/platform/android/jxCore/libv8_nosnapshot_x64.a +0 -0
- data/libs/nodejs/ext/platform/iphone/Nodejs.xcodeproj/project.pbxproj +350 -0
- data/libs/nodejs/ext/platform/iphone/Nodejs_Prefix.pch +7 -0
- data/libs/nodejs/ext/platform/iphone/Rakefile +73 -0
- data/libs/nodejs/ext/platform/iphone/jxCore/jx.h +134 -0
- data/libs/nodejs/ext/platform/iphone/jxCore/jx_result.h +221 -0
- data/libs/nodejs/ext/platform/iphone/jxCore/libcares.a +0 -0
- data/libs/nodejs/ext/platform/iphone/jxCore/libchrome_zlib.a +0 -0
- data/libs/nodejs/ext/platform/iphone/jxCore/libhttp_parser.a +0 -0
- data/libs/nodejs/ext/platform/iphone/jxCore/libjx.a +0 -0
- data/libs/nodejs/ext/platform/iphone/jxCore/libmozjs.a +0 -0
- data/libs/nodejs/ext/platform/iphone/jxCore/libopenssl.a +0 -0
- data/libs/nodejs/ext/platform/iphone/jxCore/libsqlite3.a +0 -0
- data/libs/nodejs/ext/platform/iphone/jxCore/libuv.a +0 -0
- data/libs/nodejs/ext/shared/jxcore/jx.h +134 -0
- data/libs/nodejs/ext/shared/jxcore/jx_result.h +221 -0
- data/libs/nodejs/ext/shared/jxcoretau.cpp +454 -0
- data/libs/nodejs/ext/shared/jxcoretau.h +20 -0
- data/libs/nodejs/ext/shared/nodejs_impl.cpp +106 -0
- data/libs/nodejs/nodejs.rb +2 -0
- data/libs/openssl-edge.rb +2 -0
- data/libs/openssl-edge/ext.yml +4 -0
- data/libs/openssl-edge/ext/Rakefile +145 -0
- data/libs/openssl-edge/ext/android/Rakefile +107 -0
- data/libs/openssl-edge/ext/android/ext_native.files +32 -0
- data/libs/openssl-edge/ext/android/extconf.h +91 -0
- data/libs/openssl-edge/ext/build +12 -0
- data/libs/openssl-edge/ext/build.bat +5 -0
- data/libs/openssl-edge/ext/extconf.rb +141 -0
- data/libs/openssl-edge/ext/openssl.pro +109 -0
- data/libs/openssl-edge/ext/openssl.sln +52 -0
- data/libs/openssl-edge/ext/openssl.vcproj +1010 -0
- data/libs/openssl-edge/ext/openssl_missing.c +1163 -0
- data/libs/openssl-edge/ext/openssl_missing.h +537 -0
- data/libs/openssl-edge/ext/ossl.c +1203 -0
- data/libs/openssl-edge/ext/ossl.h +242 -0
- data/libs/openssl-edge/ext/ossl_asn1.c +2008 -0
- data/libs/openssl-edge/ext/ossl_asn1.h +66 -0
- data/libs/openssl-edge/ext/ossl_bio.c +118 -0
- data/libs/openssl-edge/ext/ossl_bio.h +19 -0
- data/libs/openssl-edge/ext/ossl_bn.c +1153 -0
- data/libs/openssl-edge/ext/ossl_bn.h +23 -0
- data/libs/openssl-edge/ext/ossl_cipher.c +1085 -0
- data/libs/openssl-edge/ext/ossl_cipher.h +20 -0
- data/libs/openssl-edge/ext/ossl_config.c +89 -0
- data/libs/openssl-edge/ext/ossl_config.h +19 -0
- data/libs/openssl-edge/ext/ossl_digest.c +453 -0
- data/libs/openssl-edge/ext/ossl_digest.h +20 -0
- data/libs/openssl-edge/ext/ossl_engine.c +580 -0
- data/libs/openssl-edge/ext/ossl_engine.h +19 -0
- data/libs/openssl-edge/ext/ossl_hmac.c +398 -0
- data/libs/openssl-edge/ext/ossl_hmac.h +18 -0
- data/libs/openssl-edge/ext/ossl_ns_spki.c +406 -0
- data/libs/openssl-edge/ext/ossl_ns_spki.h +19 -0
- data/libs/openssl-edge/ext/ossl_ocsp.c +2013 -0
- data/libs/openssl-edge/ext/ossl_ocsp.h +23 -0
- data/libs/openssl-edge/ext/ossl_pkcs12.c +261 -0
- data/libs/openssl-edge/ext/ossl_pkcs12.h +13 -0
- data/libs/openssl-edge/ext/ossl_pkcs5.c +180 -0
- data/libs/openssl-edge/ext/ossl_pkcs5.h +6 -0
- data/libs/openssl-edge/ext/ossl_pkcs7.c +1157 -0
- data/libs/openssl-edge/ext/ossl_pkcs7.h +20 -0
- data/libs/openssl-edge/ext/ossl_pkey.c +469 -0
- data/libs/openssl-edge/ext/ossl_pkey.h +245 -0
- data/libs/openssl-edge/ext/ossl_pkey_dh.c +650 -0
- data/libs/openssl-edge/ext/ossl_pkey_dsa.c +672 -0
- data/libs/openssl-edge/ext/ossl_pkey_ec.c +1806 -0
- data/libs/openssl-edge/ext/ossl_pkey_rsa.c +768 -0
- data/libs/openssl-edge/ext/ossl_rand.c +238 -0
- data/libs/openssl-edge/ext/ossl_rand.h +18 -0
- data/libs/openssl-edge/ext/ossl_ssl.c +2724 -0
- data/libs/openssl-edge/ext/ossl_ssl.h +41 -0
- data/libs/openssl-edge/ext/ossl_ssl_session.c +352 -0
- data/libs/openssl-edge/ext/ossl_version.h +15 -0
- data/libs/openssl-edge/ext/ossl_x509.c +186 -0
- data/libs/openssl-edge/ext/ossl_x509.h +119 -0
- data/libs/openssl-edge/ext/ossl_x509attr.c +328 -0
- data/libs/openssl-edge/ext/ossl_x509cert.c +863 -0
- data/libs/openssl-edge/ext/ossl_x509crl.c +565 -0
- data/libs/openssl-edge/ext/ossl_x509ext.c +480 -0
- data/libs/openssl-edge/ext/ossl_x509name.c +547 -0
- data/libs/openssl-edge/ext/ossl_x509req.c +492 -0
- data/libs/openssl-edge/ext/ossl_x509revoked.c +279 -0
- data/libs/openssl-edge/ext/ossl_x509store.c +846 -0
- data/libs/openssl-edge/ext/ruby_missing.h +32 -0
- data/libs/openssl-edge/openssl-edge.rb +2 -0
- data/libs/openssl-edge/openssl.rb +24 -0
- data/libs/openssl-edge/openssl/bn.rb +35 -0
- data/libs/openssl-edge/openssl/buffering.rb +341 -0
- data/libs/openssl-edge/openssl/cipher.rb +65 -0
- data/libs/openssl-edge/openssl/digest.rb +61 -0
- data/libs/openssl-edge/openssl/ssl-internal.rb +180 -0
- data/libs/openssl-edge/openssl/ssl.rb +1 -0
- data/libs/openssl-edge/openssl/x509-internal.rb +153 -0
- data/libs/openssl-edge/openssl/x509.rb +1 -0
- data/libs/openssl.so-edge.rb +2 -0
- data/libs/openssl.so-edge/ext.yml +8 -0
- data/libs/openssl.so-edge/ext/Rakefile +140 -0
- data/libs/openssl.so-edge/ext/android/armeabi/libcrypto.a +0 -0
- data/libs/openssl.so-edge/ext/android/armeabi/libssl.a +0 -0
- data/libs/openssl.so-edge/ext/android/x86/libcrypto.a +0 -0
- data/libs/openssl.so-edge/ext/android/x86/libssl.a +0 -0
- data/libs/openssl.so-edge/ext/build +12 -0
- data/libs/openssl.so-edge/ext/build.bat +1 -0
- data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/crypto/dh/dh_locl.h +56 -0
- data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/crypto/dsa/dsa_locl.h +76 -0
- data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/crypto/evp/evp_locl.h +66 -0
- data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/crypto/hmac/hmac_lcl.h +33 -0
- data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/crypto/include/internal/asn1_int.h +94 -0
- data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/crypto/include/internal/async.h +14 -0
- data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/crypto/include/internal/bn_conf.h +28 -0
- data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/crypto/include/internal/bn_dh.h +17 -0
- data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/crypto/include/internal/bn_int.h +82 -0
- data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/crypto/include/internal/bn_srp.h +32 -0
- data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/crypto/include/internal/chacha.h +49 -0
- data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/crypto/include/internal/cryptlib.h +81 -0
- data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/crypto/include/internal/cryptlib_int.h +31 -0
- data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/crypto/include/internal/dso_conf.h +16 -0
- data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/crypto/include/internal/engine.h +20 -0
- data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/crypto/include/internal/err_int.h +17 -0
- data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/crypto/include/internal/evp_int.h +382 -0
- data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/crypto/include/internal/md32_common.h +383 -0
- data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/crypto/include/internal/objects.h +12 -0
- data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/crypto/include/internal/poly1305.h +19 -0
- data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/crypto/include/internal/rand.h +20 -0
- data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/crypto/include/internal/x509_int.h +267 -0
- data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/crypto/ocsp/ocsp_lcl.h +216 -0
- data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/crypto/rsa/rsa_locl.h +96 -0
- data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/crypto/x509/x509_lcl.h +142 -0
- data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/e_os.h +520 -0
- data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/internal/bio.h +26 -0
- data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/internal/comp.h +12 -0
- data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/internal/conf.h +32 -0
- data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/internal/constant_time_locl.h +185 -0
- data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/internal/dane.h +103 -0
- data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/internal/dso.h +216 -0
- data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/internal/err.h +15 -0
- data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/internal/numbers.h +68 -0
- data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/internal/o_dir.h +63 -0
- data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/internal/o_str.h +17 -0
- data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/internal/thread_once.h +42 -0
- data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/__DECC_INCLUDE_EPILOGUE.H +16 -0
- data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/__DECC_INCLUDE_PROLOGUE.H +20 -0
- data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/aes.h +92 -0
- data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/asn1.h +1096 -0
- data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/asn1_mac.h +10 -0
- data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/asn1t.h +924 -0
- data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/async.h +98 -0
- data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/bio.h +854 -0
- data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/blowfish.h +61 -0
- data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/bn.h +575 -0
- data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/buffer.h +76 -0
- data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/camellia.h +83 -0
- data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/cast.h +53 -0
- data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/cmac.h +41 -0
- data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/cms.h +512 -0
- data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/comp.h +72 -0
- data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/conf.h +216 -0
- data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/conf_api.h +40 -0
- data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/crypto.h +463 -0
- data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/ct.h +518 -0
- data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/des.h +174 -0
- data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/dh.h +343 -0
- data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/dsa.h +282 -0
- data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/dtls1.h +56 -0
- data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/e_os2.h +311 -0
- data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/ebcdic.h +33 -0
- data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/ec.h +1581 -0
- data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/ecdh.h +10 -0
- data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/ecdsa.h +10 -0
- data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/engine.h +842 -0
- data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/err.h +259 -0
- data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/evp.h +1586 -0
- data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/hmac.h +49 -0
- data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/idea.h +64 -0
- data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/kdf.h +75 -0
- data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/lhash.h +204 -0
- data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/md2.h +44 -0
- data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/md4.h +51 -0
- data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/md5.h +50 -0
- data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/mdc2.h +42 -0
- data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/modes.h +203 -0
- data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/obj_mac.h +4577 -0
- data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/objects.h +1097 -0
- data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/ocsp.h +409 -0
- data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/opensslconf.h +169 -0
- data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/opensslconf.h.in +141 -0
- data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/opensslv.h +105 -0
- data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/ossl_typ.h +190 -0
- data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/pem.h +501 -0
- data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/pem2.h +20 -0
- data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/pkcs12.h +282 -0
- data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/pkcs7.h +404 -0
- data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/rand.h +89 -0
- data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/rc2.h +51 -0
- data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/rc4.h +36 -0
- data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/rc5.h +63 -0
- data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/ripemd.h +47 -0
- data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/rsa.h +588 -0
- data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/safestack.h +164 -0
- data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/seed.h +98 -0
- data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/sha.h +119 -0
- data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/srp.h +131 -0
- data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/srtp.h +50 -0
- data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/ssl.h +2527 -0
- data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/ssl2.h +24 -0
- data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/ssl3.h +307 -0
- data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/stack.h +78 -0
- data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/symhacks.h +52 -0
- data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/tls1.h +972 -0
- data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/ts.h +643 -0
- data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/txt_db.h +57 -0
- data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/ui.h +368 -0
- data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/whrlpool.h +48 -0
- data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/x509.h +1123 -0
- data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/x509_vfy.h +539 -0
- data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/x509v3.h +1005 -0
- data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/ssl/packet_locl.h +555 -0
- data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/ssl/record/record.h +240 -0
- data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/ssl/record/record_locl.h +114 -0
- data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/ssl/ssl_locl.h +2127 -0
- data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/ssl/statem/statem.h +123 -0
- data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/ssl/statem/statem_locl.h +124 -0
- data/libs/openssl.so-edge/openssl.so.rb +2 -0
- data/libs/webkit.rb +2 -0
- data/libs/webkit/ext.yml +4 -0
- data/libs/webkit/ext/build +12 -0
- data/libs/webkit/ext/build.bat +7 -0
- data/libs/webkit/ext/wm/Rakefile +61 -0
- data/libs/webkit/ext/wm/RhoMsgs.cpp +17 -0
- data/libs/webkit/ext/wm/RhoMsgs.h +14 -0
- data/libs/webkit/ext/wm/RhoWKBrowserEngine.cpp +736 -0
- data/libs/webkit/ext/wm/RhoWKBrowserEngine.h +105 -0
- data/libs/webkit/ext/wm/lib/npapi/rhobridge.dll +0 -0
- data/libs/webkit/ext/wm/lib/rhoengine_defs.h +80 -0
- data/libs/webkit/ext/wm/lib/rhowebkit.dll +0 -0
- data/libs/webkit/ext/wm/webkit.sln +36 -0
- data/libs/webkit/ext/wm/webkit.suo +0 -0
- data/libs/webkit/ext/wm/webkit.vcproj +800 -0
- data/libs/webkit/ext/wm/webkit.vsprops +20 -0
- data/libs/webkit/webkit.rb +2 -0
- data/rho-tau-extensions.gemspec +23 -0
- data/version +1 -0
- metadata +705 -0
@@ -0,0 +1,282 @@
|
|
1
|
+
/*
|
2
|
+
* Copyright 1995-2016 The OpenSSL Project Authors. All Rights Reserved.
|
3
|
+
*
|
4
|
+
* Licensed under the OpenSSL license (the "License"). You may not use
|
5
|
+
* this file except in compliance with the License. You can obtain a copy
|
6
|
+
* in the file LICENSE in the source distribution or at
|
7
|
+
* https://www.openssl.org/source/license.html
|
8
|
+
*/
|
9
|
+
|
10
|
+
/*
|
11
|
+
* The DSS routines are based on patches supplied by
|
12
|
+
* Steven Schoch <schoch@sheba.arc.nasa.gov>.
|
13
|
+
*/
|
14
|
+
|
15
|
+
#ifndef HEADER_DSA_H
|
16
|
+
# define HEADER_DSA_H
|
17
|
+
|
18
|
+
# include <openssl/opensslconf.h>
|
19
|
+
|
20
|
+
# ifndef OPENSSL_NO_DSA
|
21
|
+
# ifdef __cplusplus
|
22
|
+
extern "C" {
|
23
|
+
# endif
|
24
|
+
# include <openssl/e_os2.h>
|
25
|
+
# include <openssl/bio.h>
|
26
|
+
# include <openssl/crypto.h>
|
27
|
+
# include <openssl/ossl_typ.h>
|
28
|
+
# include <openssl/opensslconf.h>
|
29
|
+
# include <openssl/bn.h>
|
30
|
+
# if OPENSSL_API_COMPAT < 0x10100000L
|
31
|
+
# include <openssl/dh.h>
|
32
|
+
# endif
|
33
|
+
|
34
|
+
# ifndef OPENSSL_DSA_MAX_MODULUS_BITS
|
35
|
+
# define OPENSSL_DSA_MAX_MODULUS_BITS 10000
|
36
|
+
# endif
|
37
|
+
|
38
|
+
# define OPENSSL_DSA_FIPS_MIN_MODULUS_BITS 1024
|
39
|
+
|
40
|
+
# define DSA_FLAG_CACHE_MONT_P 0x01
|
41
|
+
# if OPENSSL_API_COMPAT < 0x10100000L
|
42
|
+
/*
|
43
|
+
* Does nothing. Previously this switched off constant time behaviour.
|
44
|
+
*/
|
45
|
+
# define DSA_FLAG_NO_EXP_CONSTTIME 0x00
|
46
|
+
# endif
|
47
|
+
|
48
|
+
/*
|
49
|
+
* If this flag is set the DSA method is FIPS compliant and can be used in
|
50
|
+
* FIPS mode. This is set in the validated module method. If an application
|
51
|
+
* sets this flag in its own methods it is its responsibility to ensure the
|
52
|
+
* result is compliant.
|
53
|
+
*/
|
54
|
+
|
55
|
+
# define DSA_FLAG_FIPS_METHOD 0x0400
|
56
|
+
|
57
|
+
/*
|
58
|
+
* If this flag is set the operations normally disabled in FIPS mode are
|
59
|
+
* permitted it is then the applications responsibility to ensure that the
|
60
|
+
* usage is compliant.
|
61
|
+
*/
|
62
|
+
|
63
|
+
# define DSA_FLAG_NON_FIPS_ALLOW 0x0400
|
64
|
+
# define DSA_FLAG_FIPS_CHECKED 0x0800
|
65
|
+
|
66
|
+
/* Already defined in ossl_typ.h */
|
67
|
+
/* typedef struct dsa_st DSA; */
|
68
|
+
/* typedef struct dsa_method DSA_METHOD; */
|
69
|
+
|
70
|
+
typedef struct DSA_SIG_st DSA_SIG;
|
71
|
+
|
72
|
+
# define d2i_DSAparams_fp(fp,x) (DSA *)ASN1_d2i_fp((char *(*)())DSA_new, \
|
73
|
+
(char *(*)())d2i_DSAparams,(fp),(unsigned char **)(x))
|
74
|
+
# define i2d_DSAparams_fp(fp,x) ASN1_i2d_fp(i2d_DSAparams,(fp), \
|
75
|
+
(unsigned char *)(x))
|
76
|
+
# define d2i_DSAparams_bio(bp,x) ASN1_d2i_bio_of(DSA,DSA_new,d2i_DSAparams,bp,x)
|
77
|
+
# define i2d_DSAparams_bio(bp,x) ASN1_i2d_bio_of_const(DSA,i2d_DSAparams,bp,x)
|
78
|
+
|
79
|
+
DSA *DSAparams_dup(DSA *x);
|
80
|
+
DSA_SIG *DSA_SIG_new(void);
|
81
|
+
void DSA_SIG_free(DSA_SIG *a);
|
82
|
+
int i2d_DSA_SIG(const DSA_SIG *a, unsigned char **pp);
|
83
|
+
DSA_SIG *d2i_DSA_SIG(DSA_SIG **v, const unsigned char **pp, long length);
|
84
|
+
void DSA_SIG_get0(const DSA_SIG *sig, const BIGNUM **pr, const BIGNUM **ps);
|
85
|
+
int DSA_SIG_set0(DSA_SIG *sig, BIGNUM *r, BIGNUM *s);
|
86
|
+
|
87
|
+
DSA_SIG *DSA_do_sign(const unsigned char *dgst, int dlen, DSA *dsa);
|
88
|
+
int DSA_do_verify(const unsigned char *dgst, int dgst_len,
|
89
|
+
DSA_SIG *sig, DSA *dsa);
|
90
|
+
|
91
|
+
const DSA_METHOD *DSA_OpenSSL(void);
|
92
|
+
|
93
|
+
void DSA_set_default_method(const DSA_METHOD *);
|
94
|
+
const DSA_METHOD *DSA_get_default_method(void);
|
95
|
+
int DSA_set_method(DSA *dsa, const DSA_METHOD *);
|
96
|
+
const DSA_METHOD *DSA_get_method(DSA *d);
|
97
|
+
|
98
|
+
DSA *DSA_new(void);
|
99
|
+
DSA *DSA_new_method(ENGINE *engine);
|
100
|
+
void DSA_free(DSA *r);
|
101
|
+
/* "up" the DSA object's reference count */
|
102
|
+
int DSA_up_ref(DSA *r);
|
103
|
+
int DSA_size(const DSA *);
|
104
|
+
int DSA_bits(const DSA *d);
|
105
|
+
int DSA_security_bits(const DSA *d);
|
106
|
+
/* next 4 return -1 on error */
|
107
|
+
int DSA_sign_setup(DSA *dsa, BN_CTX *ctx_in, BIGNUM **kinvp, BIGNUM **rp);
|
108
|
+
int DSA_sign(int type, const unsigned char *dgst, int dlen,
|
109
|
+
unsigned char *sig, unsigned int *siglen, DSA *dsa);
|
110
|
+
int DSA_verify(int type, const unsigned char *dgst, int dgst_len,
|
111
|
+
const unsigned char *sigbuf, int siglen, DSA *dsa);
|
112
|
+
#define DSA_get_ex_new_index(l, p, newf, dupf, freef) \
|
113
|
+
CRYPTO_get_ex_new_index(CRYPTO_EX_INDEX_DSA, l, p, newf, dupf, freef)
|
114
|
+
int DSA_set_ex_data(DSA *d, int idx, void *arg);
|
115
|
+
void *DSA_get_ex_data(DSA *d, int idx);
|
116
|
+
|
117
|
+
DSA *d2i_DSAPublicKey(DSA **a, const unsigned char **pp, long length);
|
118
|
+
DSA *d2i_DSAPrivateKey(DSA **a, const unsigned char **pp, long length);
|
119
|
+
DSA *d2i_DSAparams(DSA **a, const unsigned char **pp, long length);
|
120
|
+
|
121
|
+
/* Deprecated version */
|
122
|
+
DEPRECATEDIN_0_9_8(DSA *DSA_generate_parameters(int bits,
|
123
|
+
unsigned char *seed,
|
124
|
+
int seed_len,
|
125
|
+
int *counter_ret,
|
126
|
+
unsigned long *h_ret, void
|
127
|
+
(*callback) (int, int,
|
128
|
+
void *),
|
129
|
+
void *cb_arg))
|
130
|
+
|
131
|
+
/* New version */
|
132
|
+
int DSA_generate_parameters_ex(DSA *dsa, int bits,
|
133
|
+
const unsigned char *seed, int seed_len,
|
134
|
+
int *counter_ret, unsigned long *h_ret,
|
135
|
+
BN_GENCB *cb);
|
136
|
+
|
137
|
+
int DSA_generate_key(DSA *a);
|
138
|
+
int i2d_DSAPublicKey(const DSA *a, unsigned char **pp);
|
139
|
+
int i2d_DSAPrivateKey(const DSA *a, unsigned char **pp);
|
140
|
+
int i2d_DSAparams(const DSA *a, unsigned char **pp);
|
141
|
+
|
142
|
+
int DSAparams_print(BIO *bp, const DSA *x);
|
143
|
+
int DSA_print(BIO *bp, const DSA *x, int off);
|
144
|
+
# ifndef OPENSSL_NO_STDIO
|
145
|
+
int DSAparams_print_fp(FILE *fp, const DSA *x);
|
146
|
+
int DSA_print_fp(FILE *bp, const DSA *x, int off);
|
147
|
+
# endif
|
148
|
+
|
149
|
+
# define DSS_prime_checks 50
|
150
|
+
/*
|
151
|
+
* Primality test according to FIPS PUB 186[-1], Appendix 2.1: 50 rounds of
|
152
|
+
* Rabin-Miller
|
153
|
+
*/
|
154
|
+
# define DSA_is_prime(n, callback, cb_arg) \
|
155
|
+
BN_is_prime(n, DSS_prime_checks, callback, NULL, cb_arg)
|
156
|
+
|
157
|
+
# ifndef OPENSSL_NO_DH
|
158
|
+
/*
|
159
|
+
* Convert DSA structure (key or just parameters) into DH structure (be
|
160
|
+
* careful to avoid small subgroup attacks when using this!)
|
161
|
+
*/
|
162
|
+
DH *DSA_dup_DH(const DSA *r);
|
163
|
+
# endif
|
164
|
+
|
165
|
+
# define EVP_PKEY_CTX_set_dsa_paramgen_bits(ctx, nbits) \
|
166
|
+
EVP_PKEY_CTX_ctrl(ctx, EVP_PKEY_DSA, EVP_PKEY_OP_PARAMGEN, \
|
167
|
+
EVP_PKEY_CTRL_DSA_PARAMGEN_BITS, nbits, NULL)
|
168
|
+
|
169
|
+
# define EVP_PKEY_CTRL_DSA_PARAMGEN_BITS (EVP_PKEY_ALG_CTRL + 1)
|
170
|
+
# define EVP_PKEY_CTRL_DSA_PARAMGEN_Q_BITS (EVP_PKEY_ALG_CTRL + 2)
|
171
|
+
# define EVP_PKEY_CTRL_DSA_PARAMGEN_MD (EVP_PKEY_ALG_CTRL + 3)
|
172
|
+
|
173
|
+
void DSA_get0_pqg(const DSA *d,
|
174
|
+
const BIGNUM **p, const BIGNUM **q, const BIGNUM **g);
|
175
|
+
int DSA_set0_pqg(DSA *d, BIGNUM *p, BIGNUM *q, BIGNUM *g);
|
176
|
+
void DSA_get0_key(const DSA *d,
|
177
|
+
const BIGNUM **pub_key, const BIGNUM **priv_key);
|
178
|
+
int DSA_set0_key(DSA *d, BIGNUM *pub_key, BIGNUM *priv_key);
|
179
|
+
void DSA_clear_flags(DSA *d, int flags);
|
180
|
+
int DSA_test_flags(const DSA *d, int flags);
|
181
|
+
void DSA_set_flags(DSA *d, int flags);
|
182
|
+
ENGINE *DSA_get0_engine(DSA *d);
|
183
|
+
|
184
|
+
DSA_METHOD *DSA_meth_new(const char *name, int flags);
|
185
|
+
void DSA_meth_free(DSA_METHOD *dsam);
|
186
|
+
DSA_METHOD *DSA_meth_dup(const DSA_METHOD *dsam);
|
187
|
+
const char *DSA_meth_get0_name(const DSA_METHOD *dsam);
|
188
|
+
int DSA_meth_set1_name(DSA_METHOD *dsam, const char *name);
|
189
|
+
int DSA_meth_get_flags(DSA_METHOD *dsam);
|
190
|
+
int DSA_meth_set_flags(DSA_METHOD *dsam, int flags);
|
191
|
+
void *DSA_meth_get0_app_data(const DSA_METHOD *dsam);
|
192
|
+
int DSA_meth_set0_app_data(DSA_METHOD *dsam, void *app_data);
|
193
|
+
DSA_SIG *(*DSA_meth_get_sign(const DSA_METHOD *dsam))
|
194
|
+
(const unsigned char *, int, DSA *);
|
195
|
+
int DSA_meth_set_sign(DSA_METHOD *dsam,
|
196
|
+
DSA_SIG *(*sign) (const unsigned char *, int, DSA *));
|
197
|
+
int (*DSA_meth_get_sign_setup(const DSA_METHOD *dsam))
|
198
|
+
(DSA *, BN_CTX *, BIGNUM **, BIGNUM **);
|
199
|
+
int DSA_meth_set_sign_setup(DSA_METHOD *dsam,
|
200
|
+
int (*sign_setup) (DSA *, BN_CTX *, BIGNUM **, BIGNUM **));
|
201
|
+
int (*DSA_meth_get_verify(const DSA_METHOD *dsam))
|
202
|
+
(const unsigned char *, int , DSA_SIG *, DSA *);
|
203
|
+
int DSA_meth_set_verify(DSA_METHOD *dsam,
|
204
|
+
int (*verify) (const unsigned char *, int, DSA_SIG *, DSA *));
|
205
|
+
int (*DSA_meth_get_mod_exp(const DSA_METHOD *dsam))
|
206
|
+
(DSA *, BIGNUM *, const BIGNUM *, const BIGNUM *, const BIGNUM *,
|
207
|
+
const BIGNUM *, const BIGNUM *, BN_CTX *, BN_MONT_CTX *);
|
208
|
+
int DSA_meth_set_mod_exp(DSA_METHOD *dsam,
|
209
|
+
int (*mod_exp) (DSA *, BIGNUM *, const BIGNUM *, const BIGNUM *,
|
210
|
+
const BIGNUM *, const BIGNUM *, const BIGNUM *, BN_CTX *,
|
211
|
+
BN_MONT_CTX *));
|
212
|
+
int (*DSA_meth_get_bn_mod_exp(const DSA_METHOD *dsam))
|
213
|
+
(DSA *, BIGNUM *, const BIGNUM *, const BIGNUM *, const BIGNUM *,
|
214
|
+
BN_CTX *, BN_MONT_CTX *);
|
215
|
+
int DSA_meth_set_bn_mod_exp(DSA_METHOD *dsam,
|
216
|
+
int (*bn_mod_exp) (DSA *, BIGNUM *, const BIGNUM *, const BIGNUM *,
|
217
|
+
const BIGNUM *, BN_CTX *, BN_MONT_CTX *));
|
218
|
+
int (*DSA_meth_get_init(const DSA_METHOD *dsam))(DSA *);
|
219
|
+
int DSA_meth_set_init(DSA_METHOD *dsam, int (*init)(DSA *));
|
220
|
+
int (*DSA_meth_get_finish(const DSA_METHOD *dsam)) (DSA *);
|
221
|
+
int DSA_meth_set_finish(DSA_METHOD *dsam, int (*finish) (DSA *));
|
222
|
+
int (*DSA_meth_get_paramgen(const DSA_METHOD *dsam))
|
223
|
+
(DSA *, int, const unsigned char *, int, int *, unsigned long *,
|
224
|
+
BN_GENCB *);
|
225
|
+
int DSA_meth_set_paramgen(DSA_METHOD *dsam,
|
226
|
+
int (*paramgen) (DSA *, int, const unsigned char *, int, int *,
|
227
|
+
unsigned long *, BN_GENCB *));
|
228
|
+
int (*DSA_meth_get_keygen(const DSA_METHOD *dsam)) (DSA *);
|
229
|
+
int DSA_meth_set_keygen(DSA_METHOD *dsam, int (*keygen) (DSA *));
|
230
|
+
|
231
|
+
/* BEGIN ERROR CODES */
|
232
|
+
/*
|
233
|
+
* The following lines are auto generated by the script mkerr.pl. Any changes
|
234
|
+
* made after this point may be overwritten when the script is next run.
|
235
|
+
*/
|
236
|
+
|
237
|
+
int ERR_load_DSA_strings(void);
|
238
|
+
|
239
|
+
/* Error codes for the DSA functions. */
|
240
|
+
|
241
|
+
/* Function codes. */
|
242
|
+
# define DSA_F_DSAPARAMS_PRINT 100
|
243
|
+
# define DSA_F_DSAPARAMS_PRINT_FP 101
|
244
|
+
# define DSA_F_DSA_BUILTIN_PARAMGEN 125
|
245
|
+
# define DSA_F_DSA_BUILTIN_PARAMGEN2 126
|
246
|
+
# define DSA_F_DSA_DO_SIGN 112
|
247
|
+
# define DSA_F_DSA_DO_VERIFY 113
|
248
|
+
# define DSA_F_DSA_METH_DUP 127
|
249
|
+
# define DSA_F_DSA_METH_NEW 128
|
250
|
+
# define DSA_F_DSA_METH_SET1_NAME 129
|
251
|
+
# define DSA_F_DSA_NEW_METHOD 103
|
252
|
+
# define DSA_F_DSA_PARAM_DECODE 119
|
253
|
+
# define DSA_F_DSA_PRINT_FP 105
|
254
|
+
# define DSA_F_DSA_PRIV_DECODE 115
|
255
|
+
# define DSA_F_DSA_PRIV_ENCODE 116
|
256
|
+
# define DSA_F_DSA_PUB_DECODE 117
|
257
|
+
# define DSA_F_DSA_PUB_ENCODE 118
|
258
|
+
# define DSA_F_DSA_SIGN 106
|
259
|
+
# define DSA_F_DSA_SIGN_SETUP 107
|
260
|
+
# define DSA_F_DSA_SIG_NEW 102
|
261
|
+
# define DSA_F_OLD_DSA_PRIV_DECODE 122
|
262
|
+
# define DSA_F_PKEY_DSA_CTRL 120
|
263
|
+
# define DSA_F_PKEY_DSA_KEYGEN 121
|
264
|
+
|
265
|
+
/* Reason codes. */
|
266
|
+
# define DSA_R_BAD_Q_VALUE 102
|
267
|
+
# define DSA_R_BN_DECODE_ERROR 108
|
268
|
+
# define DSA_R_BN_ERROR 109
|
269
|
+
# define DSA_R_DECODE_ERROR 104
|
270
|
+
# define DSA_R_INVALID_DIGEST_TYPE 106
|
271
|
+
# define DSA_R_INVALID_PARAMETERS 112
|
272
|
+
# define DSA_R_MISSING_PARAMETERS 101
|
273
|
+
# define DSA_R_MODULUS_TOO_LARGE 103
|
274
|
+
# define DSA_R_NO_PARAMETERS_SET 107
|
275
|
+
# define DSA_R_PARAMETER_ENCODING_ERROR 105
|
276
|
+
# define DSA_R_Q_NOT_PRIME 113
|
277
|
+
|
278
|
+
# ifdef __cplusplus
|
279
|
+
}
|
280
|
+
# endif
|
281
|
+
# endif
|
282
|
+
#endif
|
@@ -0,0 +1,56 @@
|
|
1
|
+
/*
|
2
|
+
* Copyright 2005-2016 The OpenSSL Project Authors. All Rights Reserved.
|
3
|
+
*
|
4
|
+
* Licensed under the OpenSSL license (the "License"). You may not use
|
5
|
+
* this file except in compliance with the License. You can obtain a copy
|
6
|
+
* in the file LICENSE in the source distribution or at
|
7
|
+
* https://www.openssl.org/source/license.html
|
8
|
+
*/
|
9
|
+
|
10
|
+
#ifndef HEADER_DTLS1_H
|
11
|
+
# define HEADER_DTLS1_H
|
12
|
+
|
13
|
+
#ifdef __cplusplus
|
14
|
+
extern "C" {
|
15
|
+
#endif
|
16
|
+
|
17
|
+
# define DTLS1_VERSION 0xFEFF
|
18
|
+
# define DTLS1_2_VERSION 0xFEFD
|
19
|
+
# define DTLS_MIN_VERSION DTLS1_VERSION
|
20
|
+
# define DTLS_MAX_VERSION DTLS1_2_VERSION
|
21
|
+
# define DTLS1_VERSION_MAJOR 0xFE
|
22
|
+
|
23
|
+
# define DTLS1_BAD_VER 0x0100
|
24
|
+
|
25
|
+
/* Special value for method supporting multiple versions */
|
26
|
+
# define DTLS_ANY_VERSION 0x1FFFF
|
27
|
+
|
28
|
+
/* lengths of messages */
|
29
|
+
# define DTLS1_COOKIE_LENGTH 256
|
30
|
+
|
31
|
+
# define DTLS1_RT_HEADER_LENGTH 13
|
32
|
+
|
33
|
+
# define DTLS1_HM_HEADER_LENGTH 12
|
34
|
+
|
35
|
+
# define DTLS1_HM_BAD_FRAGMENT -2
|
36
|
+
# define DTLS1_HM_FRAGMENT_RETRY -3
|
37
|
+
|
38
|
+
# define DTLS1_CCS_HEADER_LENGTH 1
|
39
|
+
|
40
|
+
# ifdef DTLS1_AD_MISSING_HANDSHAKE_MESSAGE
|
41
|
+
# define DTLS1_AL_HEADER_LENGTH 7
|
42
|
+
# else
|
43
|
+
# define DTLS1_AL_HEADER_LENGTH 2
|
44
|
+
# endif
|
45
|
+
|
46
|
+
|
47
|
+
/* Timeout multipliers (timeout slice is defined in apps/timeouts.h */
|
48
|
+
# define DTLS1_TMO_READ_COUNT 2
|
49
|
+
# define DTLS1_TMO_WRITE_COUNT 2
|
50
|
+
|
51
|
+
# define DTLS1_TMO_ALERT_COUNT 12
|
52
|
+
|
53
|
+
#ifdef __cplusplus
|
54
|
+
}
|
55
|
+
#endif
|
56
|
+
#endif
|
@@ -0,0 +1,311 @@
|
|
1
|
+
/*
|
2
|
+
* Copyright 1995-2016 The OpenSSL Project Authors. All Rights Reserved.
|
3
|
+
*
|
4
|
+
* Licensed under the OpenSSL license (the "License"). You may not use
|
5
|
+
* this file except in compliance with the License. You can obtain a copy
|
6
|
+
* in the file LICENSE in the source distribution or at
|
7
|
+
* https://www.openssl.org/source/license.html
|
8
|
+
*/
|
9
|
+
|
10
|
+
#ifndef HEADER_E_OS2_H
|
11
|
+
# define HEADER_E_OS2_H
|
12
|
+
|
13
|
+
# include <openssl/opensslconf.h>
|
14
|
+
|
15
|
+
#ifdef __cplusplus
|
16
|
+
extern "C" {
|
17
|
+
#endif
|
18
|
+
|
19
|
+
/******************************************************************************
|
20
|
+
* Detect operating systems. This probably needs completing.
|
21
|
+
* The result is that at least one OPENSSL_SYS_os macro should be defined.
|
22
|
+
* However, if none is defined, Unix is assumed.
|
23
|
+
**/
|
24
|
+
|
25
|
+
# define OPENSSL_SYS_UNIX
|
26
|
+
|
27
|
+
/* --------------------- Microsoft operating systems ---------------------- */
|
28
|
+
|
29
|
+
/*
|
30
|
+
* Note that MSDOS actually denotes 32-bit environments running on top of
|
31
|
+
* MS-DOS, such as DJGPP one.
|
32
|
+
*/
|
33
|
+
# if defined(OPENSSL_SYS_MSDOS)
|
34
|
+
# undef OPENSSL_SYS_UNIX
|
35
|
+
# endif
|
36
|
+
|
37
|
+
/*
|
38
|
+
* For 32 bit environment, there seems to be the CygWin environment and then
|
39
|
+
* all the others that try to do the same thing Microsoft does...
|
40
|
+
*/
|
41
|
+
/*
|
42
|
+
* UEFI lives here because it might be built with a Microsoft toolchain and
|
43
|
+
* we need to avoid the false positive match on Windows.
|
44
|
+
*/
|
45
|
+
# if defined(OPENSSL_SYS_UEFI)
|
46
|
+
# undef OPENSSL_SYS_UNIX
|
47
|
+
# elif defined(OPENSSL_SYS_UWIN)
|
48
|
+
# undef OPENSSL_SYS_UNIX
|
49
|
+
# define OPENSSL_SYS_WIN32_UWIN
|
50
|
+
# else
|
51
|
+
# if defined(__CYGWIN__) || defined(OPENSSL_SYS_CYGWIN)
|
52
|
+
# undef OPENSSL_SYS_UNIX
|
53
|
+
# define OPENSSL_SYS_WIN32_CYGWIN
|
54
|
+
# else
|
55
|
+
# if defined(_WIN32) || defined(OPENSSL_SYS_WIN32)
|
56
|
+
# undef OPENSSL_SYS_UNIX
|
57
|
+
# if !defined(OPENSSL_SYS_WIN32)
|
58
|
+
# define OPENSSL_SYS_WIN32
|
59
|
+
# endif
|
60
|
+
# endif
|
61
|
+
# if defined(_WIN64) || defined(OPENSSL_SYS_WIN64)
|
62
|
+
# undef OPENSSL_SYS_UNIX
|
63
|
+
# if !defined(OPENSSL_SYS_WIN64)
|
64
|
+
# define OPENSSL_SYS_WIN64
|
65
|
+
# endif
|
66
|
+
# endif
|
67
|
+
# if defined(OPENSSL_SYS_WINNT)
|
68
|
+
# undef OPENSSL_SYS_UNIX
|
69
|
+
# endif
|
70
|
+
# if defined(OPENSSL_SYS_WINCE)
|
71
|
+
# undef OPENSSL_SYS_UNIX
|
72
|
+
# endif
|
73
|
+
# endif
|
74
|
+
# endif
|
75
|
+
|
76
|
+
/* Anything that tries to look like Microsoft is "Windows" */
|
77
|
+
# if defined(OPENSSL_SYS_WIN32) || defined(OPENSSL_SYS_WIN64) || defined(OPENSSL_SYS_WINNT) || defined(OPENSSL_SYS_WINCE)
|
78
|
+
# undef OPENSSL_SYS_UNIX
|
79
|
+
# define OPENSSL_SYS_WINDOWS
|
80
|
+
# ifndef OPENSSL_SYS_MSDOS
|
81
|
+
# define OPENSSL_SYS_MSDOS
|
82
|
+
# endif
|
83
|
+
# endif
|
84
|
+
|
85
|
+
/*
|
86
|
+
* DLL settings. This part is a bit tough, because it's up to the
|
87
|
+
* application implementor how he or she will link the application, so it
|
88
|
+
* requires some macro to be used.
|
89
|
+
*/
|
90
|
+
# ifdef OPENSSL_SYS_WINDOWS
|
91
|
+
# ifndef OPENSSL_OPT_WINDLL
|
92
|
+
# if defined(_WINDLL) /* This is used when building OpenSSL to
|
93
|
+
* indicate that DLL linkage should be used */
|
94
|
+
# define OPENSSL_OPT_WINDLL
|
95
|
+
# endif
|
96
|
+
# endif
|
97
|
+
# endif
|
98
|
+
|
99
|
+
/* ------------------------------- OpenVMS -------------------------------- */
|
100
|
+
# if defined(__VMS) || defined(VMS) || defined(OPENSSL_SYS_VMS)
|
101
|
+
# if !defined(OPENSSL_SYS_VMS)
|
102
|
+
# undef OPENSSL_SYS_UNIX
|
103
|
+
# endif
|
104
|
+
# define OPENSSL_SYS_VMS
|
105
|
+
# if defined(__DECC)
|
106
|
+
# define OPENSSL_SYS_VMS_DECC
|
107
|
+
# elif defined(__DECCXX)
|
108
|
+
# define OPENSSL_SYS_VMS_DECC
|
109
|
+
# define OPENSSL_SYS_VMS_DECCXX
|
110
|
+
# else
|
111
|
+
# define OPENSSL_SYS_VMS_NODECC
|
112
|
+
# endif
|
113
|
+
# endif
|
114
|
+
|
115
|
+
/* -------------------------------- Unix ---------------------------------- */
|
116
|
+
# ifdef OPENSSL_SYS_UNIX
|
117
|
+
# if defined(linux) || defined(__linux__) && !defined(OPENSSL_SYS_LINUX)
|
118
|
+
# define OPENSSL_SYS_LINUX
|
119
|
+
# endif
|
120
|
+
# if defined(_AIX) && !defined(OPENSSL_SYS_AIX)
|
121
|
+
# define OPENSSL_SYS_AIX
|
122
|
+
# endif
|
123
|
+
# endif
|
124
|
+
|
125
|
+
/* -------------------------------- VOS ----------------------------------- */
|
126
|
+
# if defined(__VOS__) && !defined(OPENSSL_SYS_VOS)
|
127
|
+
# define OPENSSL_SYS_VOS
|
128
|
+
# ifdef __HPPA__
|
129
|
+
# define OPENSSL_SYS_VOS_HPPA
|
130
|
+
# endif
|
131
|
+
# ifdef __IA32__
|
132
|
+
# define OPENSSL_SYS_VOS_IA32
|
133
|
+
# endif
|
134
|
+
# endif
|
135
|
+
|
136
|
+
/**
|
137
|
+
* That's it for OS-specific stuff
|
138
|
+
*****************************************************************************/
|
139
|
+
|
140
|
+
/* Specials for I/O an exit */
|
141
|
+
# ifdef OPENSSL_SYS_MSDOS
|
142
|
+
# define OPENSSL_UNISTD_IO <io.h>
|
143
|
+
# define OPENSSL_DECLARE_EXIT extern void exit(int);
|
144
|
+
# else
|
145
|
+
# define OPENSSL_UNISTD_IO OPENSSL_UNISTD
|
146
|
+
# define OPENSSL_DECLARE_EXIT /* declared in unistd.h */
|
147
|
+
# endif
|
148
|
+
|
149
|
+
/*-
|
150
|
+
* Definitions of OPENSSL_GLOBAL and OPENSSL_EXTERN, to define and declare
|
151
|
+
* certain global symbols that, with some compilers under VMS, have to be
|
152
|
+
* defined and declared explicitly with globaldef and globalref.
|
153
|
+
* Definitions of OPENSSL_EXPORT and OPENSSL_IMPORT, to define and declare
|
154
|
+
* DLL exports and imports for compilers under Win32. These are a little
|
155
|
+
* more complicated to use. Basically, for any library that exports some
|
156
|
+
* global variables, the following code must be present in the header file
|
157
|
+
* that declares them, before OPENSSL_EXTERN is used:
|
158
|
+
*
|
159
|
+
* #ifdef SOME_BUILD_FLAG_MACRO
|
160
|
+
* # undef OPENSSL_EXTERN
|
161
|
+
* # define OPENSSL_EXTERN OPENSSL_EXPORT
|
162
|
+
* #endif
|
163
|
+
*
|
164
|
+
* The default is to have OPENSSL_EXPORT, OPENSSL_EXTERN and OPENSSL_GLOBAL
|
165
|
+
* have some generally sensible values.
|
166
|
+
*/
|
167
|
+
|
168
|
+
# if defined(OPENSSL_SYS_VMS_NODECC)
|
169
|
+
# define OPENSSL_EXPORT globalref
|
170
|
+
# define OPENSSL_EXTERN globalref
|
171
|
+
# define OPENSSL_GLOBAL globaldef
|
172
|
+
# elif defined(OPENSSL_SYS_WINDOWS) && defined(OPENSSL_OPT_WINDLL)
|
173
|
+
# define OPENSSL_EXPORT extern __declspec(dllexport)
|
174
|
+
# define OPENSSL_EXTERN extern __declspec(dllimport)
|
175
|
+
# define OPENSSL_GLOBAL
|
176
|
+
# else
|
177
|
+
# define OPENSSL_EXPORT extern
|
178
|
+
# define OPENSSL_EXTERN extern
|
179
|
+
# define OPENSSL_GLOBAL
|
180
|
+
# endif
|
181
|
+
|
182
|
+
/*-
|
183
|
+
* Macros to allow global variables to be reached through function calls when
|
184
|
+
* required (if a shared library version requires it, for example.
|
185
|
+
* The way it's done allows definitions like this:
|
186
|
+
*
|
187
|
+
* // in foobar.c
|
188
|
+
* OPENSSL_IMPLEMENT_GLOBAL(int,foobar,0)
|
189
|
+
* // in foobar.h
|
190
|
+
* OPENSSL_DECLARE_GLOBAL(int,foobar);
|
191
|
+
* #define foobar OPENSSL_GLOBAL_REF(foobar)
|
192
|
+
*/
|
193
|
+
# ifdef OPENSSL_EXPORT_VAR_AS_FUNCTION
|
194
|
+
# define OPENSSL_IMPLEMENT_GLOBAL(type,name,value) \
|
195
|
+
type *_shadow_##name(void) \
|
196
|
+
{ static type _hide_##name=value; return &_hide_##name; }
|
197
|
+
# define OPENSSL_DECLARE_GLOBAL(type,name) type *_shadow_##name(void)
|
198
|
+
# define OPENSSL_GLOBAL_REF(name) (*(_shadow_##name()))
|
199
|
+
# else
|
200
|
+
# define OPENSSL_IMPLEMENT_GLOBAL(type,name,value) OPENSSL_GLOBAL type _shadow_##name=value;
|
201
|
+
# define OPENSSL_DECLARE_GLOBAL(type,name) OPENSSL_EXPORT type _shadow_##name
|
202
|
+
# define OPENSSL_GLOBAL_REF(name) _shadow_##name
|
203
|
+
# endif
|
204
|
+
|
205
|
+
# ifdef _WIN32
|
206
|
+
# ifdef _WIN64
|
207
|
+
# define ossl_ssize_t __int64
|
208
|
+
# define OSSL_SSIZE_MAX _I64_MAX
|
209
|
+
# else
|
210
|
+
# define ossl_ssize_t int
|
211
|
+
# define OSSL_SSIZE_MAX INT_MAX
|
212
|
+
# endif
|
213
|
+
# endif
|
214
|
+
|
215
|
+
# if defined(OPENSSL_SYS_UEFI) && !defined(ssize_t)
|
216
|
+
# define ossl_ssize_t int
|
217
|
+
# define OSSL_SSIZE_MAX INT_MAX
|
218
|
+
# endif
|
219
|
+
|
220
|
+
# ifndef ossl_ssize_t
|
221
|
+
# define ossl_ssize_t ssize_t
|
222
|
+
# if defined(SSIZE_MAX)
|
223
|
+
# define OSSL_SSIZE_MAX SSIZE_MAX
|
224
|
+
# elif defined(_POSIX_SSIZE_MAX)
|
225
|
+
# define OSSL_SSIZE_MAX _POSIX_SSIZE_MAX
|
226
|
+
# endif
|
227
|
+
# endif
|
228
|
+
|
229
|
+
# ifdef DEBUG_UNUSED
|
230
|
+
# define __owur __attribute__((__warn_unused_result__))
|
231
|
+
# else
|
232
|
+
# define __owur
|
233
|
+
# endif
|
234
|
+
|
235
|
+
/* Standard integer types */
|
236
|
+
# if defined(OPENSSL_SYS_UEFI)
|
237
|
+
typedef INT8 int8_t;
|
238
|
+
typedef UINT8 uint8_t;
|
239
|
+
typedef INT16 int16_t;
|
240
|
+
typedef UINT16 uint16_t;
|
241
|
+
typedef INT32 int32_t;
|
242
|
+
typedef UINT32 uint32_t;
|
243
|
+
typedef INT64 int64_t;
|
244
|
+
typedef UINT64 uint64_t;
|
245
|
+
# define PRIu64 "%Lu"
|
246
|
+
# elif (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) || \
|
247
|
+
defined(__osf__) || defined(__sgi) || defined(__hpux) || \
|
248
|
+
defined(OPENSSL_SYS_VMS) || defined (__OpenBSD__)
|
249
|
+
# include <inttypes.h>
|
250
|
+
# elif defined(_MSC_VER) && _MSC_VER<=1500
|
251
|
+
/*
|
252
|
+
* minimally required typdefs for systems not supporting inttypes.h or
|
253
|
+
* stdint.h: currently just older VC++
|
254
|
+
*/
|
255
|
+
typedef signed char int8_t;
|
256
|
+
typedef unsigned char uint8_t;
|
257
|
+
typedef short int16_t;
|
258
|
+
typedef unsigned short uint16_t;
|
259
|
+
typedef int int32_t;
|
260
|
+
typedef unsigned int uint32_t;
|
261
|
+
typedef __int64 int64_t;
|
262
|
+
typedef unsigned __int64 uint64_t;
|
263
|
+
# else
|
264
|
+
# include <stdint.h>
|
265
|
+
# endif
|
266
|
+
|
267
|
+
/*
|
268
|
+
* We need a format operator for some client tools for uint64_t. If inttypes.h
|
269
|
+
* isn't available or did not define it, just go with hard-coded.
|
270
|
+
*/
|
271
|
+
# ifndef PRIu64
|
272
|
+
# ifdef SIXTY_FOUR_BIT_LONG
|
273
|
+
# define PRIu64 "lu"
|
274
|
+
# else
|
275
|
+
# define PRIu64 "llu"
|
276
|
+
# endif
|
277
|
+
# endif
|
278
|
+
|
279
|
+
/* ossl_inline: portable inline definition usable in public headers */
|
280
|
+
# if !defined(inline) && !defined(__cplusplus)
|
281
|
+
# if defined(__STDC_VERSION__) && __STDC_VERSION__>=199901L
|
282
|
+
/* just use inline */
|
283
|
+
# define ossl_inline inline
|
284
|
+
# elif defined(__GNUC__) && __GNUC__>=2
|
285
|
+
# define ossl_inline __inline__
|
286
|
+
# elif defined(_MSC_VER)
|
287
|
+
/*
|
288
|
+
* Visual Studio: inline is available in C++ only, however
|
289
|
+
* __inline is available for C, see
|
290
|
+
* http://msdn.microsoft.com/en-us/library/z8y1yy88.aspx
|
291
|
+
*/
|
292
|
+
# define ossl_inline __inline
|
293
|
+
# else
|
294
|
+
# define ossl_inline
|
295
|
+
# endif
|
296
|
+
# else
|
297
|
+
# define ossl_inline inline
|
298
|
+
# endif
|
299
|
+
|
300
|
+
# if defined(__STDC_VERSION__) && __STDC_VERSION__ >= 201112L
|
301
|
+
# define ossl_noreturn _Noreturn
|
302
|
+
# elif defined(__GNUC__) && __GNUC__ >= 2
|
303
|
+
# define ossl_noreturn __attribute__((noreturn))
|
304
|
+
# else
|
305
|
+
# define ossl_noreturn
|
306
|
+
# endif
|
307
|
+
|
308
|
+
#ifdef __cplusplus
|
309
|
+
}
|
310
|
+
#endif
|
311
|
+
#endif
|